From the Chatterbox earlier today, you were wanting to kill all the apache PID's with Perl...
shell> ps -C httpd | perl -pe '($_)=/(\d+)/;`kill -9 $_`'That should work as root
Enjoy!
-- Casey
In reply to Re: How do i obtain the PID of a program already running.
by cwest
in thread How do i obtain the PID of a program already running.
by Adityad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |