Newsgroups: fj.questions.unix
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!sinfony-news!sonygw2!headgw!socslgw!daemon
From: kono@csl.sony.co.jp (Shinji Kono)
Subject: Re: How to kill fork bomb?
Message-ID: <29065.825416429@irulan.csl.sony.co.jp>
Sender: daemon@nntp.csl.sony.co.jp (The devil himself)
Reply-To: kono@csl.sony.co.jp
Organization: Sony Computer Science Laboratory, Inc.
References: <4gu2bt$ajm@glock.mt.cs.keio.ac.jp>
Date: Tue, 27 Feb 1996 10:20:35 GMT
Lines: 18
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:5330
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=5330&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B2OLn(B $B??<#(B@CSL.Sony$B$G$9!#(B
In article <4gu2bt$ajm@glock.mt.cs.keio.ac.jp> , 
hosokawa@mt.cs.keio.ac.jp (HOSOKAWA Tatsumi) writes 
>% kill -9 -1

$B$3$l$C$F$J$s$+!"B31n$NOG@1$C$]$$<jCJ$G$9$M!#EE8;@Z$k$N$H$[$H$s$I(B
$BF1$8$D$&$+(B...  shutdown/reboot $B0J30$C$F$N$KH?$7$F$$$k$h$&$J(B...

#!/bin/sh
this-script &

$B$C$F$N$,8=<B$KAv$C$?;~$,$"$C$F!"$G$b!"$=$N;~$O<j$GDI$$IU$$$?!#(B
10$BG/A0$NOC$G$9$,(B... ps gx | perl -nae 'kill 9,$F[0]' $B$+$J$!!"(B
$B:#$@$C$?$i(B... (user mode$B$G$@$h(B)

---
Shinji Kono                              kono@csl.sony.co.jp
$B2OLn??<#(B Sony Computer Science Laboratory, Inc,Japan
