[mdlug] Some issues with the "ps" command

Paul set at pobox.com
Fri Apr 13 14:52:57 EDT 2007


"Ingles, Raymond" <Raymond.Ingles at compuware.com>, on Fri Apr 13, 2007 [12:48:26 PM] said:
> 
>  Can anyone name a variant of Linux where the following command doesn't work?
> 
>  ps -ae -o pid -o user -o pcpu -o pmem -o args
> 
>  We've run into a situation where an old version of Red Hat EL 3 wouldn't run
> either of these:
> 
>  ps -ae -o pid,user,pcpu,pmem,args
>  ps -ae -o pid -o user -o %cpu -o %mem -o args
> 
>  ...but it *would* run the first one. We're striving for maximal portability,
> so if anyone can name a Linux variant that can't run that one, I'd really like
> to hear about it.
> 
>  Sincerely,
> 
>  Ray Ingles                                      (313) 227-2317

	Hi;

	Not sure about linux versions, but none of these will probably
work with a BSD userland. s/args/command/ and it should work for everyone
though;)

Paul
set at pobox.com



More information about the mdlug mailing list