This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: process table shows already killed processes



Stipe Tolj wrote:
> 
> > And, at last, I take a look into the process table:
> >
> >         /home/admin[5]$ ps -ef
> >              UID    PID   PPID TTY     STIME COMMAND
> >           system   1003      1  -1  13:11:17 /usr/local/sbin/syslogd.exe
> >         administ   1006   1006  -1  13:11:26 /usr/bin/tcsh.exe
> >         administ   1018   1006  -1  13:15:04 /usr/bin/ps
> >
> > ???The syslogd is still in the table??? Ok, next try:
> >
> >         /home/admin[6]$ ps -ef
> >              UID    PID   PPID TTY     STIME COMMAND
> >         administ   1006   1006  -1  13:11:26 /usr/bin/tcsh.exe
> >         administ   1019   1006  -1  13:16:30 /usr/bin/ps
> >
> > Oh, on the second try, the already killed processes are erased
> > from the table! This behaviour is 100% reproducable.
> 
> is it time dependent?
> 
> In other words is it reproducable with a different scheduling between none,
> first and second "ps -ef" call?

It's the same effect, no matter of the time between the ps calls.

Corinna