Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 20:50:03 -0800 (PST)
From:      Dima Dorfman <dima@unixfreak.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/25435: ps: sess: keyword not found 
Message-ID:  <200102280450.f1S4o3e16293@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/25435; it has been noted by GNATS.

From: Dima Dorfman <dima@unixfreak.org>
To: rwatson@freebsd.org
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/25435: ps: sess: keyword not found 
Date: Tue, 27 Feb 2001 20:40:23 -0800

 > >Number:         25435
 > >Category:       bin
 > >Synopsis:       ps -j asks for "sess" keyword, no longer defined
 > 
 > No clear.  In any case, the "-j" arguments were not updated for whatever
 > removal of session leader from the list of valid fields when that occurred.
 
 Indeed, mckusick didn't update the -j arguments or the manual page
 when he introduced kproc_info.  The attached patch removes all
 references to keywords removed by that commit from the source and
 manual page.
 
 					Dima Dorfman
 					dima@unixfreak.org
 
 
 Index: ps.1
 ===================================================================
 RCS file: /st/src/FreeBSD/src/bin/ps/ps.1,v
 retrieving revision 1.30
 diff -u -r1.30 ps.1
 --- ps.1	2001/02/01 16:24:50	1.30
 +++ ps.1	2001/02/28 04:36:29
 @@ -99,7 +99,7 @@
  header per page of information.
  .It Fl j
  Print information associated with the following keywords:
 -user, pid, ppid, pgid, sess, jobc, state, tt, time and command.
 +user, pid, ppid, pgid, jobc, state, tt, time and command.
  .It Fl L
  List the set of available keywords.
  .It Fl l
 @@ -367,8 +367,6 @@
  job control count
  .It ktrace
  tracing flags
 -.It ktracep
 -tracing vnode
  .It lim
  memoryuse limit
  .It logname
 @@ -400,8 +398,6 @@
  wait channel (as an address)
  .It oublk
  total blocks written (alias oublock)
 -.It p_ru
 -resource usage (valid only for zombie)
  .It paddr
  swap address
  .It pagein
 @@ -427,8 +423,6 @@
  reverse link on run queue, or 0
  .It rss
  resident set size
 -.It rsz
 -resident set size + (text size / text use count) (alias rssize)
  .It rtprio
  realtime priority (101 = not a realtime process)
  .It ruid
 @@ -436,8 +430,6 @@
  .Tn ID
  .It ruser
  user name (from ruid)
 -.It sess
 -session pointer
  .It sig
  pending signals (alias pending)
  .It sigcatch
 Index: ps.c
 ===================================================================
 RCS file: /st/src/FreeBSD/src/bin/ps/ps.c,v
 retrieving revision 1.34
 diff -u -r1.34 ps.c
 --- ps.c	2001/01/24 12:59:50	1.34
 +++ ps.c	2001/02/28 04:36:29
 @@ -104,7 +104,7 @@
  static uid_t	*getuids(const char *, int *);
  
  char dfmt[] = "pid tt state time command";
 -char jfmt[] = "user pid ppid pgid sess jobc state tt time command";
 +char jfmt[] = "user pid ppid pgid jobc state tt time command";
  char lfmt[] = "uid pid ppid cpu pri nice vsz rss wchan state tt time command";
  char   o1[] = "pid";
  char   o2[] = "tt state time command";

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




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