Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jul 2003 19:23:39 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Nate Lawson <nate@root.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/nfsclient nfs_nfsiod.c 
Message-ID:  <2249.1057166619@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 02 Jul 2003 10:20:53 PDT." <20030702101716.E90143@root.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030702101716.E90143@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@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.



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