'ps' behavoir in Linux - Was - Re: array limits
Jay R. Ashworth
jra at baylink.com
Fri Apr 16 10:51:21 PDT 2004
On Thu, Apr 15, 2004 at 07:47:04PM -0500, Jerry Rains wrote:
> On Thursday 15 April 2004 09:36, Brian K. White wrote:
> > Give both tables a similar name testz1 testz2.
> > Put a show @ in both tables to cause them to wait for user input.
> > Start up both tables in concurrent sessions.
> > In a 3rd session run:
> > ps -eopid,size,args |grep testz
> >
> > 1st column is the pid, 2nd column is the size in memory, rest of the line
> > is the command line
>
> This brings up a point I have been meaning to post for a while. Brians ps
> command works fine on SCO5.0.5 but on SuSE8.2
>
> ps -eo args | grep dclerk returns
>
> [dclerk]
IIRC, the brackets mean that the process is swapped out, and ps can't
therefore *get to* it's PCB to find out what arguments were given to
it.
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Member of the Technical Staff Baylink RFC 2100
The Suncoast Freenet The Things I Think
Tampa Bay, Florida http://baylink.pitas.com +1 727 647 1274
"They had engineers in my day, too." -- Perry Vance Nelson
More information about the Filepro-list
mailing list