cat /proc/$pid/cmdline (the separator is 0x00... so cat might not be enough as it shows both the exe name and the arguments)This is a question for any Solaris/Linux admins. What (if any) are the Linux equivalents to the following Solaris commands: 1) pargs (Print process arguments, environmental variables, etc)
have no ideea what it does... you mean the user it runs under? chroot?2) pcred (Display process credentials)
cat /proc/$pid/maps3) pfiles (Display open file info)
ldd /proc/$pid/exe4) pldd (List dynamic libs associated to process)
ls -la /proc/$pid/ | grep cwd //cwd is a symlink to the current working directory5) pwdx (Display current working directory for process)
Thanks Kevin
|
Răzvan Corneliu VILT e-mail:razvan vilt linux360 ro GPG:http://d3vi1.linux360.ro/public-keys/ www: http://d3vi1.linux360.ro/ |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature