Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2001 17:29:44 -0700
From:      Dima Dorfman <dima@unixfreak.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Brian Somers <brian@Awfulhak.org>
Subject:   Re: cvs commit: src/bin/ps ps.c 
Message-ID:  <20010413002944.6FE383E25@bazooka.unixfreak.org>
In-Reply-To: <Pine.BSF.4.21.0104121945010.7449-100000@besplex.bde.org>; from bde@zeta.org.au on "Thu, 12 Apr 2001 19:50:06 %2B1000 (EST)"

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans <bde@zeta.org.au> writes:
> On Wed, 11 Apr 2001, Dima Dorfman wrote:
> > --- ps.1	2001/04/07 11:22:26	1.32
> > +++ ps.1	2001/04/11 22:22:47
> > @@ -430,6 +430,8 @@
> >  .Tn ID
> >  .It ruser
> >  user name (from ruid)
> > +.It sid
> > +session ID
> 
> Should probably be marked up with ".Tn ID" like all the other IDs.

Yep, Brian already fixed this.

> I'm not sure about the the name change "sess" -> "sid".

I thought about this one.  Both ways have their advantages.  Think of
automated scripts that use ps: if they rely on 'sess' on being a
unique session identifier, then this change breaks them, although
those scripts are easy to fix; if they use 'sess' as something more
than a unique value per session, then changing the meaning of 'sess'
breaks them.  Although I think the latter group is much smaller, those
scripts that are in it will break in much more mysterious ways if the
name wasn't changed (i.e., things in the first group break with "ps:
no sess" messages, while the latter break with possibly incorrect
output).

That said, I wouldn't mind if someone wanted to change sid and tsid
back to sess and tsess, respectively.

					Dima Dorfman
					dima@unixfreak.org

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




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