This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

about processes... bug?


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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]