js1 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Does anyone know if there's a perl equivalent for 'ps'? I want to run 'ps -ef' on Linux, AIX, and Solaris for an audit script I'm writing. However, on Solaris, it truncates the command arguments to the first 80 bytes.
It would be good to have a ps command which we could run anywhere, and get the same output.
Thanks,
js1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl function for 'ps' ?
by gellyfish (Monsignor) on Aug 14, 2006 at 10:51 UTC | |
|
Re: perl function for 'ps' ?
by davorg (Chancellor) on Aug 14, 2006 at 10:51 UTC | |
by js1 (Monk) on Aug 14, 2006 at 10:55 UTC | |
by andyford (Curate) on Aug 14, 2006 at 11:22 UTC | |
by js1 (Monk) on Aug 14, 2006 at 12:29 UTC | |
by gellyfish (Monsignor) on Aug 14, 2006 at 12:34 UTC | |
|
Re: perl function for 'ps' ?
by derby (Abbot) on Aug 14, 2006 at 12:42 UTC | |
by Moron (Curate) on Aug 14, 2006 at 14:06 UTC | |
by nimdokk (Vicar) on Aug 14, 2006 at 14:29 UTC | |
by gellyfish (Monsignor) on Aug 14, 2006 at 14:26 UTC | |
| |
|
Re: perl function for 'ps' ?
by Khen1950fx (Canon) on Aug 14, 2006 at 11:58 UTC | |
|
Re: perl function for 'ps' ?
by planetscape (Chancellor) on Aug 15, 2006 at 20:29 UTC |