#! /bin/sh # lj: Lists your running Java procs. Also utilized by other Tonic scripts. # It would be better to make this GNU-configurable, when time permits. case `/bin/uname` in SunOS) pscmd="/usr/ucb/ps -axwww" ;; IRIX*) pscmd="/bin/ps -ef -o 'pid args'" ;; *) pscmd="/bin/ps ax" ;; esac eval ${pscmd} | grep java | grep -v grep eval ${pscmd} | grep rmid | grep -v grep