« 5.11. Informations sur les process » : différence entre les versions

De UnixWiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
 
(Aucune différence)

Dernière version du 19 décembre 2012 à 09:29

Information générales sur un process, nottament les fichiers et sockets ouvertent: pfiles $PID

 # pfiles 21452
 21452:  ./argsrv -e
 Current rlimit: 65536 file descriptors
  0: S_IFCHR mode:0666 dev:375,33 ino:12340 uid:0 gid:3 rdev:13,2
     O_RDWR|O_LARGEFILE
     /dev/null
  1: S_IFCHR mode:0666 dev:375,33 ino:12340 uid:0 gid:3 rdev:13,2
     O_RDWR|O_LARGEFILE
     /dev/null
  2: S_IFCHR mode:0666 dev:375,33 ino:12340 uid:0 gid:3 rdev:13,2
     O_RDWR|O_LARGEFILE
     /dev/null
  3: S_IFDOOR mode:0444 dev:369,0 ino:49 uid:0 gid:0 size:0
     O_RDONLY|O_LARGEFILE FD_CLOEXEC  door to nscd[22920]
     /var/run/name_service_door
  5: S_IFREG mode:0666 dev:256,65574 ino:144798 uid:100 gid:9003 size:0
     O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE
     /usersdev/medialec/tamino82/common/arg/log/argsrv.log.snmp.log
  6: S_IFSOCK mode:0666 dev:367,0 ino:42810 uid:0 gid:0 size:0
     O_RDWR
       SOCK_DGRAM
       SO_BROADCAST,SO_SNDBUF(57344),SO_RCVBUF(57344),IP_NEXTHOP(0.0.224.0)
       sockname: AF_INET 0.0.0.0  port: 49903
  7: S_IFREG mode:0666 dev:256,65574 ino:144799 uid:100 gid:9003 size:0
     O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE
     /usersdev/medialec/tamino82/common/arg/log/argmlsnmp.log.snmp.log
  8: S_IFSOCK mode:0666 dev:367,0 ino:53742 uid:0 gid:0 size:0
     O_RDWR
       SOCK_DGRAM
       SO_BROADCAST,SO_SNDBUF(57344),SO_RCVBUF(57344),IP_NEXTHOP(0.0.224.0)
       sockname: AF_INET 0.0.0.0  port: 49992
 10: S_IFIFO mode:0000 dev:358,0 ino:2551771608 uid:100 gid:9003 size:0
     O_RDWR
 13: S_IFIFO mode:0000 dev:358,0 ino:2551771609 uid:100 gid:9003 size:0
     O_RDWR

Information sur espaces d'adresses mémoire.

 # pmap 21452
 21452:  ./argsrv -e
 0000000100000000        112K r-x--  /usersdev/medialec/tamino82/common/arg/bin/argsrv
 000000010011A000         40K rwx--  /usersdev/medialec/tamino82/common/arg/bin/argsrv
 0000000100124000       2384K rwx--    [ heap ]
 FFFFFFFF79200000          8K r-x--  /usersdev/medialec/tamino82/common/arg/lib/libargcb.so
 FFFFFFFF79300000         16K rwx--  /usersdev/medialec/tamino82/common/arg/lib/libargcb.so
 FFFFFFFF79414000         48K rw--R    [ anon ]
 FFFFFFFF79514000          8K rw--R    [ anon ]
 FFFFFFFF79518000         32K rw--R    [ anon ]
 FFFFFFFF79614000          8K rw--R    [ anon ]
 FFFFFFFF79618000         32K rw--R    [ anon ]
 FFFFFFFF79712000         56K rw--R    [ anon ]
 FFFFFFFF79800000        128K rwx--    [ anon ]
 FFFFFFFF79900000         64K rwx--    [ anon ]
 FFFFFFFF79A0E000          8K rw--R    [ stack tid=17 ]
 FFFFFFFF79B0E000          8K rw--R    [ stack tid=16 ]
 FFFFFFFF79C0E000          8K rw--R    [ stack tid=15 ]
 FFFFFFFF79D0E000          8K rw--R    [ stack tid=14 ]
 FFFFFFFF79FEE000         56K rw--R    [ stack tid=13 ]
 FFFFFFFF7A00E000          8K rw--R    [ stack tid=12 ]
 FFFFFFFF7A10E000          8K rw--R    [ stack tid=11 ]
 FFFFFFFF7A20E000          8K rw--R    [ stack tid=10 ]
 FFFFFFFF7A30E000          8K rw--R    [ stack tid=9 ]
 FFFFFFFF7A400000         64K rwx--    [ anon ]
 FFFFFFFF7A512000         56K rw--R    [ stack tid=8 ]
 FFFFFFFF7A600000       1320K r-x--  /usersdev/medialec/tamino82/common/arg/lib/libargmlsnmp.so  
 FFFFFFFF7A812000         56K rw--R    [ stack tid=7 ]
 FFFFFFFF7A848000         72K rwx--  /usersdev/medialec/tamino82/common/arg/lib/libargmlsnmp.so
 FFFFFFFF7A900000         24K r-x--  /usersdev/medialec/tamino82/Tamino/v82/lib/libargclt.so
 FFFFFFFF7AA04000         16K rwx--  /usersdev/medialec/tamino82/Tamino/v82/lib/libargclt.so
 FFFFFFFF7AA08000         16K rwx--  /usersdev/medialec/tamino82/Tamino/v82/lib/libargclt.so
 FFFFFFFF7AB00000       1448K r-x--  /usersdev/medialec/tamino82/common/arg/lib/libargcssnmp.so
 FFFFFFFF7AD3A000         24K rw--R    [ stack tid=6 ]
 FFFFFFFF7AD68000         72K rwx--  /usersdev/medialec/tamino82/common/arg/lib/libargcssnmp.so
 FFFFFFFF7AD7A000          8K rwx--  /usersdev/medialec/tamino82/common/arg/lib/libargcssnmp.so 
 FFFFFFFF7AE00000        288K r-x--  /lib/sparcv9/libresolv.so.2
 FFFFFFFF7AF36000         40K rw--R    [ stack tid=5 ]
 FFFFFFFF7AF48000         24K rwx--  /lib/sparcv9/libresolv.so.2
 FFFFFFFF7AF4E000          8K rwx--  /lib/sparcv9/libresolv.so.2
 FFFFFFFF7B0C2000         24K rw--R    [ anon ]
 FFFFFFFF7B100000        144K r-x--  /usersdev/medialec/tamino82/common/arg/lib/libargen.so
 FFFFFFFF7B200000          8K r-x--  /lib/sparcv9/libintl.so.1
 FFFFFFFF7B222000        104K rwx--  /usersdev/medialec/tamino82/common/arg/lib/libargen.so
 FFFFFFFF7B37E000          8K rw--R    [ stack tid=3 ]
 FFFFFFFF7B47E000          8K rw--R    [ stack tid=2 ]
 FFFFFFFF7B500000         16K r-x--  /lib/sparcv9/libmp.so.2
 FFFFFFFF7B604000          8K rwx--  /lib/sparcv9/libmp.so.2
 FFFFFFFF7B700000         32K r-x--  /lib/sparcv9/libgen.so.1
 FFFFFFFF7B808000          8K rwx--  /lib/sparcv9/libgen.so.1
 ....
 FFFFFFFF7F768000          8K rwxs-    [ anon ]
 FFFFFFFF7FFF2000         56K rw---    [ stack ]
        total        17232K