On Solaris and HP-UX Itanium, pldd $process_id will give the shared objects loaded for that process. AIX has 开发者_JAVA百科procldd and Linux has pmap that have the same functionality.
Is there an equivalent for HP-UX PA-RISC?
If not - what approach should be taken to writing one. Use ttrace() maybe?
I believe lsof has the information you're looking for.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.84/
精彩评论