Hi,
I am not sure because I am just a programmer and not the admin in the server, but I have noticed something strange. The one displaying the inode is logical volume, but the other one is possibly file system under logical volume. Maybe this is lucky... maybe not.
George
Hi,
I want to find the opened files for a process. I type the command lsof -p pid but I have the following problems:
1. Instead of getting the real file name, I get the file system name.
2. The inode file for files in a specific file system is '0', but for other file system are displayed.
==...
Hi. Thanks for your reply :-)
I find out that it is relevant. I used ncheck command and I locate the filename. Btw the file is related to the transaction journaling of the database we use and that's why it tries to sync.
George
We do not have this option.
There are some core programs/functions for user interface, business functionality etc. What we do is to create C functions to enhance the core business functionality. Those functions will be automatically called by core programs so they need to be compiled in 64bit...
Even when when I compiled the 'libInfMq.so' with option -lmqm, I got the same error.
I did some research on internet and I saw that some people had similar problems and they solution is to use the 64bit libraries (in directory /usr/mqm/lib64). We do not have this directory here. Maybe we need...
Hi. I am back for a new problem I have :-)))
We have a C program that gets all messages from the MQ queue and write them into a text file. Then another program was processing those messages one by one. The problem was that if for example there were 30 messages in the queue and the processing...
Hi,
I just want to inform you that the problem is solved.
We have some distributed files (for database one file but for operating system many files). A routine(distributed algo) is executed when you want to access a record (read/write/delete) and based on record ID returns the part file the...
I also think that it failed while it reads from a file (from jbase specific utility I see that it stopped in a function called F.READ), and that's why I send you all open commands in my log. Can you understand from truss output the command/file that caused the problem?
I run the same program...
Hi,
I run a program on a database called jbase and I got a segmentation violation. Can anyone help me on output of truss utility? I cannot attach the whole file because it is almost 40mb.
OS is AIX 5.3
Thanks in advance,
George
===============================
jsh r07new ~ -->SH -c 'cat...
Example
home path is '/home/cprog'
'src' is a subdirectory in '/home/cprog'
pwd is '/gl/testenv'
'data' is a subdirectory in '/gl/testenv'
Some of the valid paths are:
/
.
../..
..
~
/home/cprog/src
~/src
/gl/testenv/data
./data
data
The number of combination is very big. They can also type a...
I try to write a C program which accepts the path as a parameter. The users may type the path in many different ways, so I want to get always the full path from what they type.
At windows exists a function (is called something like getfullfilepath). Is there any similar function for AIX?
Thanks
The solution to my problem is AIX command 'procfiles'. See an example:
*-------------------------------------------------
$ procfiles -n 131162 | grep /jbdata
-n option failed, as temporary file cannot be created
O_RDWR size:16384 name:/jbdata/eb/F.SPF
O_RDWR size:57344...
New update about svmon
It does not list the files I am interested of. Before I saw many filenames and I thought it was working as I wanted, so I did not test it with those files. I thought like "why not working with the files i am interested"
To give you more info, I work with jbase and each...
Also I checked lsof in linux and I can get real filenames. See the output:
*-----------------------------------------
[root@localhost root]# lsof -u uv2jb
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sh 2223 uv2jb cwd DIR 8,33 1024 2 /home/uv2jb
sh 2223...
I run svmon and it seems to work fine for me. See a part of output:
*-----------------------------------------------------
# svmon -U orcltst -f -j
===============================================================================
User Inuse Pin Pgsp...
I installed 'lsof' successfully but when I run I get all information I do not need but NOT the only thing I need. I get many columns that are no need for me. One of them displays the file system name (and next to it the logical volume name) but no the name of the file.
I read some man pages on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.