Operating System - HP-UX
1753589 Members
6442 Online
108796 Solutions
New Discussion

Re: listing all.sl files related to a process

 
sanjay khuntia
Occasional Contributor

listing all.sl files related to a process

Hi All,
This time I am asking my question in a clear way so that everyone can understand my need.
Actually, i listed all .so files loaded for a particular process traversing /proc//maps directory for every process id in Red Hat EL 4, using some kind of parsing the list inside maps directory.

The same thing I want to do in hp-ux11.11i. That is, I want all .sl files loaded for every individual process as I had done in Linux.But here I have only some system calls like dlget() and others. But I don't understand how to relate .sl files for a particular process so that I can list all .sl files for all processes in my system. Suggestion or code snippet to fetch the .sl files for every process are most welcome.Actually I need that.I am going use C/C++ to write the program using any system calls to fetch the .sl listing.

Regards,

Sanjay
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: listing all.sl files related to a process

Instead of creating even more threads, simply add on to your existing .sl one.
In fact, copy your new text to it and close this one.

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1205741
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1205755
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1205871

Basically what you want, you can't do or do easily on HP-UX. And lsof comes closest.

Have you said why you want to do this??