'ps' behavoir in Linux - Was - Re: array limits
Bill Vermillion
fp at wjv.com
Fri Apr 16 18:57:21 PDT 2004
On Fri, Apr 16, 2004 at 03:37:50PM -0400, Fairlight thus spoke:
> With neither thought nor caution, Jay Ashworth blurted:
> >
> > I was talking about the SCO ps, which I believe was what he was talking
> > about; procps appears to use the brackets for "not a real process; part
> > of the kernel".
> I didn't believe so, as he was citing auxww at some point, and
> that's -not- SCO. That's a BSD variant, and that's what proc-ps
> uses.
If you are talking about ps auxww correct, but ps -auxww is valid
in SCO. It's not documented, but an x used in an argument to ps
in SCO will give you an error in almost every way you try it
except in certain combinations and just placing it in a different
order will give an error.
IOW the x does nothing and you'lll get errors if you don't always
inlcude the 'u'. A SWAG would make me thing the 'x' is treated
as 'user x'. So that option string actually works but does the x
adds nothing as far as I can tell.
Try ps -leafxu vs ps -leafux. In the beastie world users
are associated with U, and the -u has to do with the order things
are presented.
Bill
--
Bill Vermillion - bv @ wjv . com
More information about the Filepro-list
mailing list