delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/21/11:38:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20020121163745.82873.qmail@web20803.mail.yahoo.com>
Date: Mon, 21 Jan 2002 08:37:45 -0800 (PST)
From: Brian Genisio <briangenisio AT yahoo DOT com>
Subject: kill -9 restarts system?
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hey all,

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

done

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.

Any insight?
Brian

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019