bin/46382: ps(1) could use a "repeat" mode

Chris Hodgins chodgins at cis.strath.ac.uk
Thu Mar 10 22:40:05 GMT 2005


The following reply was made to PR bin/46382; it has been noted by GNATS.

From: Chris Hodgins <chodgins at cis.strath.ac.uk>
To: freebsd-gnats-submit at FreeBSD.org, rdm at cfcl.com
Cc:  
Subject: Re: bin/46382: ps(1) could use a "repeat" mode
Date: Thu, 10 Mar 2005 22:37:23 +0000

 This pr suggests that a -c option is included with ps to add a repeat 
 mode (see the description below).  Looks like the -c option is now used 
 by something else.
 
 Perhaps this should be closed now, or maybe we could use -R as it seems 
 to be one of the few remaining letters free. :)
 
 Chris
 
 ==========================
 Description
 
 	Several of the system monitoring commands have a "repeat" mode,
          allowing them to put out a report at specified intervals.  The
          "-c" option in iostat(8) is a good example:
 
 	  -c    Repeat the display count times.  If no wait interval is
 		specified, the default is 1 second.
 
 	I would like to have such a mode in ps(1), so that I wouldn't
          have to spawn a new process each time I wanted a report.
 
 


More information about the freebsd-bugs mailing list