'ps' behavoir in Linux - Was - Re: array limits

Jerry Rains jmrains at peoplepc.com
Fri Apr 16 19:34:28 PDT 2004


On Friday 16 April 2004 02:15, Fairlight wrote:
> Brian K. White cast forth these immortal, mystical words:
> > on linux and freebsd to get full argment list I use ps auxwww
> > you can add more w's to get more stuff to the right. after the command
> > and it's arguments it will list some of the environment, up to all of it
> > if you give enough w's
> >
> > try ps auxwwwwwwwwwwwwwwww |less -S
>
> After the second w, the rest are redundant.  I haven't used more than that
> in years, and in linux's proc-ps, I don't think more than two ever had more
> meaning.  I think they may have done in BSD 4.3,but that was a longggggg
> time ago.
>
> 'ps auxww' is all you need.

This doesn't work either.  I included 'uname -a', in case that will shed any 
light on this.  The install is SuSE8.2 Professional, which was last brought 
up to date about a month ago.

jmrains at Coastal:~> ps auxw | grep dclerk
filepro  29589  0.0  0.2  1460  744 pts/2    S    20:40   0:00 [dclerk]
jmrains  29676  0.0  0.2  3528  560 pts/3    S    20:43   0:00 grep dclerk
jmrains at Coastal:~> ps auxww | grep dclerk
filepro  29589  0.0  0.2  1460  744 pts/2    S    20:40   0:00 [dclerk]
jmrains  29680  0.0  0.2  3528  560 pts/3    S    20:43   0:00 grep dclerk
jmrains at Coastal:~> ps auxwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww | grep dclerk
filepro  29589  0.0  0.2  1460  744 pts/2    S    20:40   0:00 [dclerk]
jmrains  29684  0.0  0.2  3528  560 pts/3    S    20:43   0:00 grep dclerk
jmrains at Coastal:~> uname -a
Linux Coastal 2.4.20-4GB #1 Mon Mar 17 17:54:44 UTC 2003 i686 unknown unknown 
GNU/Linux

Jerry

>
> > Note that the missing "-" in "ps auxwww" but present in "ps -elf" is not
> > a typo.
>
> They took the warnings out a long time back, apparently.  RH 7.2 doesn't
> have warnings on the "-".
>
> mark->



More information about the Filepro-list mailing list