[gllug] ps oddities again

Benedikt Heinen gllug at ml.icemark.net
Wed Mar 23 20:59:27 UTC 2005


> 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...


But if you just want the java pids - but if you just want the java 
processes, why not use

 	ps u --pid="$( pidof java )"

?




   Benedikt

--
                     Gaudeo te illud de me rogavisse.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list