| | |
killing PIDs from a file
Thread Solved |
•
•
Join Date: Apr 2008
Posts: 88
Reputation:
Solved Threads: 0
What is the best way to kill a number of PIDs that I've isolated from an external file?
So far I've done grep PID badPids | awk {'print$2}'
to get the list of bad PIDS to kill. I've searched through the man pages to no avail and I need to be able to do it from the terminal line, not a script file.
I know that kill -k will do it, but I'm not sure on how to pass the list to kill.
Thanks.
So far I've done grep PID badPids | awk {'print$2}'
to get the list of bad PIDS to kill. I've searched through the man pages to no avail and I need to be able to do it from the terminal line, not a script file.
I know that kill -k will do it, but I'm not sure on how to pass the list to kill.
Thanks.
![]() |
Other Threads in the Legacy and Other Languages Forum
- Previous Thread: ASP , ASP .NET , CLR , Runtime.
- Next Thread: NATURAL data types
| Thread Tools | Search this Thread |






