cvs commit: src/sys/nfsclient nfs_nfsiod.c

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Jul 2 10:23:47 PDT 2003


In message <20030702101716.E90143 at root.org>, Nate Lawson writes:
>On Wed, 2 Jul 2003, Poul-Henning Kamp wrote:
>>   Change idle sleep indentifier to "-" for nfsiod
>>
>>   Revision  Changes    Path
>>   1.78      +1 -1      src/sys/nfsclient/nfs_nfsiod.c
>
>I'm ok with changing to a single character for the default sleep state but
>"-" is the same as a running process.  For example:
>
> 1000 90138 90136   2  18  0  1780 1364 pause  Ss    p0    0:00.10 -tcsh
> 1000 90210 90138   2  28  0   440  196 -      R+    p0    0:00.00 ps axl
>
>As you can see, without looking at the run field, it doesn't immediately
>jump out at you which processes are asleep where the "pause" above
>definitely does.  How about something like "+" or "*"?

...but as you can see, the sleeping processes lack the (R)unning flag.

I don't care one iota what the string is, I simple went with '-' because
the interrrupt threads already used that.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the cvs-src mailing list