Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2001 23:21:33 +0200
From:      Tor.Egge@fast.no
To:        netch@iv.nn.kiev.ua
Cc:        current@FreeBSD.ORG
Subject:   Re: ps 'D' state - ?
Message-ID:  <200106162121.XAA80814@midten.fast.no>
In-Reply-To: Your message of "Sat, 16 Jun 2001 23:16:59 %2B0300"
References:  <20010616231659.B5015@iv.nn.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Sat_Jun_16_23:20:21_2001)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> netch@iv:~>ps 218 -l
>   UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
>     0   218     1   0   8  0  1120  176 nanslp DWs   ??    0:02.31 diskcheckd:
> 
> Are `select' and `nanosleep' disk uninterruptable waits? ;|

No.  The ps command gave wrong output.

- Tor Egge


----Next_Part(Sat_Jun_16_23:20:21_2001)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Index: bin/ps/print.c
===================================================================
RCS file: /home/ncvs/src/bin/ps/print.c,v
retrieving revision 1.47
diff -u -r1.47 print.c
--- bin/ps/print.c	2001/05/03 11:49:44	1.47
+++ bin/ps/print.c	2001/06/16 21:13:16
@@ -176,7 +176,7 @@
 
 	v = ve->var;
 	flag = k->ki_p->ki_flag;
-	sflag = k->ki_p->ki_flag;
+	sflag = k->ki_p->ki_sflag;
 	cp = buf;
 
 	switch (k->ki_p->ki_stat) {

----Next_Part(Sat_Jun_16_23:20:21_2001)----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106162121.XAA80814>