Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: icecubegr
  • Order by date
  1. icecubegr

    lsof output

    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
  2. icecubegr

    lsof output

    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. ==...
  3. icecubegr

    Use lsof in AIX

    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
  4. icecubegr

    Use lsof in AIX

    Hi, I use truss in a process and I have a line 'fsync(3) = 0' with a delay. How can I use lsof to find the file used in fsunc? Thanks, George
  5. icecubegr

    64-bit C-function using the MQ library

    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...
  6. icecubegr

    64-bit C-function using the MQ library

    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...
  7. icecubegr

    64-bit C-function using the MQ library

    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...
  8. icecubegr

    Segmentation violation

    Hi Gileb. Thanks for the reply but I tried to execute the watch command but it failed. Is it available only for root?
  9. icecubegr

    Segmentation violation

    thanks
  10. icecubegr

    Segmentation violation

    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...
  11. icecubegr

    Segmentation violation

    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...
  12. icecubegr

    Segmentation violation

    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...
  13. icecubegr

    getfullfilepath for AIX?

    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...
  14. icecubegr

    getfullfilepath for AIX?

    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
  15. icecubegr

    Files used by a process

    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...
  16. icecubegr

    Files used by a process

    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...
  17. icecubegr

    Files used by a process

    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...
  18. icecubegr

    Files used by a process

    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...
  19. icecubegr

    Files used by a process

    thankx @mbourne today here is no working day, so when I will go to the system I will try it
  20. icecubegr

    Files used by a process

    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...

Part and Inventory Search

Back
Top