cvs commit: src/bin/ps ps.1 ps.c

Garance A Drosehn gad at FreeBSD.org
Wed Mar 17 14:46:59 PST 2004


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


More information about the cvs-src mailing list