Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 14:46:58 -0800 (PST)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/ps ps.1 ps.c
Message-ID:  <200403172246.i2HMkw9v041299@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gad         2004/03/17 14:46:58 PST

  FreeBSD src repository

  Modified files:
    bin/ps               ps.1 ps.c 
  Log:
  Improvements to 'ps -p <x>'.  If <x> is a process id that does not exist, then
  just print the header (if any) and exit, thus matching the behavior on -stable
  and other OS's.
  
  Also adds support for <x> being a comma-separated list of processes, and does
  a much better checking for invalid-values of <x>, such as 'ps -p someword'.
  
  Reviewed by:    mentioned on freebsd-current
  MFC after:      10 days
  
  Revision  Changes    Path
  1.67      +5 -2      src/bin/ps/ps.1
  1.65      +99 -19    src/bin/ps/ps.c



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