* Carlos E. R.
cer@nimrodel:~> psfind postfix root 8735 0.0 0.0 4384 192 ? Ss Feb11 0:20 /usr/lib/postfix/master postfix 17797 0.0 0.1 4584 556 ? S Feb17 0:02 \_ qmgr -l -t unix -u postfix 24242 0.0 0.2 4428 1480 ? S 02:38 0:00 \_ pickup -l -t unix -u cer 24392 0.0 0.2 2708 1176 pts/18 R+ 02:44 0:00 | \_ /bin/sh /usr/local/bin/psfind postfix
Hah, it's finding the script as well, it needs a refinement ;-p
pat@wahoo:~> cat bin/psfind ps auxf|grep -i $1|grep -iv grep pat@wahoo:~> psfind postfix root 3423 0.0 0.0 4176 204 ? S Feb09 0:12 /usr/lib/postfix/master postfix 21894 0.0 0.0 4252 488 ? S 15:00 0:00 \_ qmgr -l -t fifo -u postfix 29150 0.0 0.1 4220 1336 ? S 20:28 0:00 \_ pickup -l -t fifo -u pat@wahoo:~> you did include the last pipe "grep -iv grep" ?? -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2