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

Miguel Demaerel Miguel.Demaerel at SGMS.SEMA.BE
Thu Jan 20 05:58:01 CST 2000


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
=========================================







More information about the SunHELP mailing list