[SunHELP] kill

Sean R. Clark sunhelp at sunhelp.org
Wed Jun 20 13:35:24 CDT 2001


Or [since I am assuming your are root doing this]

 su - [user]
 kill -9 -1



-----Original Message-----
From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org] On
Behalf Of Bruce Pullig
Sent: Wednesday, June 20, 2001 1:28 PM
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] kill


The below fails for a couple of reasons. Try this:
kill -9 `/usr/bin/ps -ef | grep USER | grep -v grep | awk '{print $2}'`

At 11:17 AM 6/20/2001 -0400, you wrote:
>kill -9 ` ps -e | grep foo | grep -v grep | awk '{print $1}'`

-- 
* * * * * * * * * * * * * * * * * * * * *
   Bruce Pullig
   Senior Systems Administrator
   GeoQuest DMC
   5444 Westheimer, Suite 800
   Houston, TX 77056
   (713) 350-4217
   bpullig at houston.geoquest.slb.com
* * * * * * * * * * * * * * * * * * * * *

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp




More information about the SunHELP mailing list