[gllug] ps oddities again

Steve Nelson sanelson at gmail.com
Wed Mar 23 22:17:38 UTC 2005


On Wed, 23 Mar 2005 20:59:27 +0000 (GMT), Benedikt Heinen
<gllug at ml.icemark.net> wrote:
> > Ok so I've just realised why -ef misses the netiq processes - the java
> > but is truncated, and if I specify -elf I get java too.
> >
> > However, I'm still puzzled as to why ps aux | grep java returns no results.
> 
> Might be the same problem - try ps auxw instead, so that the lines don't
> get truncated...

Yeah that's it - thanks.
 
> But if you just want the java pids - but if you just want the java
> processes, why not use
> 
>         ps u --pid="$( pidof java )"

Ah, the java stuff was just an example, as I knew there were loads of
java processes running on that particular machine.

Thanks for clearing up what should have been rather obvious.

Good night!

S.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list