in reply to How do i obtain the PID of a program already running.
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Answer: How do i obtain the PID of a program already running. UPDATE
by cwest (Friar) on Jun 29, 2000 at 19:25 UTC | |
by merlyn (Sage) on Jun 29, 2000 at 19:39 UTC |