[Sunhelp] Problem on creating a script to kill processes.

ramon via lepton ramon at etown.com
Thu Jan 20 13:50:16 CST 2000


"Learning the Korn shell"  by O'reilly.

ramon.

On Thu, 20 Jan 2000, Miguel Demaerel wrote:

> Hoi All
> 
> I'm a newbie on this platform.
> 
> I wont to create a script that kill several processes.
> 
> ps -ef | grep "name" |awk '{print $2}
> Now I have a list of PID, but how can I kill these processes?
> 
> kill ???
> 
> Are there any good site or books on writing scripts?
> 
> Thanks
> 
> Greetings Miguel
> 
>                    ////
>                   (o o)
> ==============oOO==(_)==OOo==============
>              Miguel DEMAEREL
>         Sema Group Managed Services
>        Raketstraat 98 - 1130 Brussel
>                  Belgium
>        Tel: +32 (0)2 724 93 17
>        Fax: +32 (0)2 724 92 92
>  EMail: Miguel.Demaerel at SGMS.SEMA.BE
> =========================================
> 
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 







More information about the SunHELP mailing list