This is the mail archive of the
mailing list for the Cygwin project.
kill -9 restarts system?
- From: Brian Genisio <briangenisio at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 21 Jan 2002 08:37:45 -0800 (PST)
- Subject: kill -9 restarts system?
I was wondering if anyone has ever come across this... I have a script that
looks like this :
for $p in prog1 prog2 prog3 prog4 ; do
ps | grep $p | sed 's/get_pid/kill -9 pid/' | sh
Essentially, this script (I cant remember what my sed stuff is, but it works)
will kill all of the processes in a list (prog1, prog2, prog3, etc).
This works well for the most part. BUT... every once in a while, my machine
reboots itself. It doesnt happen very often, but when it does, it happens with
no warning, all the way back to the BIOS load screen, as if I had just hit the
reset button on my puter.
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html