[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Finding running processes?
- From: Ahbaid Gaffoor <ahbaidg guyana net gy>
- To: redhat-list redhat com
- Subject: Re: Finding running processes?
- Date: Sun, 10 Oct 1999 19:07:16 -0500
ps aux | grep aaron | awk '{print $7}'|xargs kill -9
this does the following:
"ps aux " find all processes
"grep aaron" owned by aaron
"awk '{print $7}'" extract the process id, note that it may not be the
seventh field in
the output, just do a "ps aux | grep aaron" and
see which field has
the process id in it... substitute that for $7,
example $2 for the
second field...
"xargs kill -9" pass the process id to "kill -9" for termination...
I like this, it can be setup as a nice script for killing all processes
owned by a user or modified as you wish...
Sorry to go on so long,
hope I helped :)
Ahbaid.
Aaron Prohaska wrote:
> Can anyone tell me how to find out all running processes and how to stop
> them?
>
> Aaron
>
> --
> To unsubscribe: mail redhat-list-request redhat com with "unsubscribe"
> as the Subject.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]