Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kill by process name

Status
Not open for further replies.

Fixles

Programmer
Jan 24, 2002
36
GB
Hi,

Ive recently had some SCO Unix servers dumped under my administration :eek:)

We are having a probelm which our vendor is looking into where a process iSet is not killing itself when it has finished so i have been killing the processes manually using top and the pid.

I would ask the vendor but i dont want them to know I'm a newb to SCO ;o)

Is there anyway i can kill all processes named iSet? (None are child processes)

Many Thanks,

James
 
Something like this ?
kill `ps -e | awk '$NF=="iSet"{print $1}'`

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top