Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 10:19:30 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Robert Watson <rwatson@freebsd.org>
Subject:   Re: marking normal sleep identifiers as such.
Message-ID:  <xzpu1amzdgt.fsf@flood.ping.uio.no>
In-Reply-To: <p05210631bb16f2e206df@[128.113.24.47]> (Garance A. Drosihn's message of "Thu, 19 Jun 2003 01:01:15 -0400")
References:  <Pine.NEB.3.96L.1030618092937.4523A-100000@fledge.watson.org> <p05210631bb16f2e206df@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn <drosih@rpi.edu> writes:
> Long ago and in an operating-system far away (and which is not
> running anywhere now), we had a similar problem.  We ended up
> adding a mechanism here the sleeper could specify a character
> string which would show up in our equivalent of 'ps'.  This
> was implemented by having one hardware register which held the
> address of the string to display.
>
> Perhaps something similar could be done in freebsd.

You mean like this?

des@meali ~% ps -opid,mwchan,command
  PID MWCHAN COMMAND
 7761 pause  -zsh (zsh)
16447 select ssh mikrobe
79090 pause  -zsh (zsh)
41402 select ssh flood.ping.uio.no
41403 select ssh flood.ping.uio.no
80739 pause  -zsh (zsh)
 7801 ttyin  -zsh (zsh)
41672 select /usr/local/bin/emacs -geometry 90x56-0+0
44723 ttyin  -zsh (zsh)
92780 ttyin  -zsh (zsh)
 2316 select xscreensaver
 3767 ttyin  -zsh (zsh)
 2711 ttyin  -zsh (zsh)
15511 ttyin  -zsh (zsh)
19014 pause  -zsh (zsh)
19033 -      ps -opid,mwchan,command

DES
-- 
Dag-Erling Smorgrav - des@ofug.org



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