The ps command on your flavor may
use "ax" instead of "ef". Where
myProcess is the process that needs
to be restarted. The awk commands
gets the 2nd field of the line, which
in this case is the PID.
This tip generously supported by: kasharma@hss.hns.com NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.