www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/15/15:39:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990515193842.45782.qmail@hotmail.com>
X-Originating-IP: [62.81.103.84]
From: "joaquin grech" <joaquingrech AT hotmail DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: about processes... bug?
Date: Sat, 15 May 1999 21:38:41 CEST
Mime-Version: 1.0

Hi!

I am having a problem trying to attach or kill a process on cygnus.
I run ps, I get the PID, then i try to kill it but it says that
it doesn't exist... what is the 'real' pid number? I need it
for a program. Take a look...

BASH.EXE-2.02$ ps -ef
     UID    PID   PPID TTY     STIME COMMAND
     500   1568   1000  -1  21:35:44 
/CYGNUS/CYGWIN-B20/H-I586-CYGWIN32/BIN/PS.E
XE
     500   1000   1000  -1  20:47:03 
/CYGNUS/CYGWIN-B20/H-I586-CYGWIN32/BIN/BASH
.EXE
     500   1535      1  -1  20:57:23 /KAOS/KAOSBOT-1.0.0B8.1.EXE
BASH.EXE-2.02$ kill -9 1
BASH.EXE: kill: (1) - No such pid
BASH.EXE-2.02$ kill -9 1535
BASH.EXE: kill: (1535) - No such pid
BASH.EXE-2.02$ kill -9 11535
BASH.EXE: kill: (11535) - No such pid


Since I really need to know the process, do you know how to get it?
I want a simple script to kill the kaosbot.exe program, but it just says all 
the time that the
pr pid doesn't exist as you saw... any ideas?

Joaquin Grech


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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