svn commit: r324619 - in head/usr.bin/procstat: . tests

Brooks Davis brooks at freebsd.org
Mon Nov 13 02:00:18 UTC 2017


On Sun, Nov 12, 2017 at 12:15:35PM +0200, Andriy Gapon wrote:
> On 14/10/2017 21:38, Brooks Davis wrote:
> > Author: brooks
> > Date: Sat Oct 14 18:38:36 2017
> > New Revision: 324619
> > URL: https://svnweb.freebsd.org/changeset/base/324619
> > 
> > Log:
> >   Switch procstat from subcommand flags to verbs
> >   
> >   - Use an enumerated value instead of separate flags for commands
> >   - Look for a verb if no command flag is set
> >   - Lookup the "xocontainer" value based on the command
> >   - Document the new command verbs in the man-page
> >   
> >   Submitted by:	kdrakehp at zoho.com
> >   Differential Revision:	https://reviews.freebsd.org/D10916
> 
> What's the new way of doing procstat -kk -a ?
> 
> procstat -kk -a now crashes because cmd is NULL when 'k' option is processed.
> procstat kstack and procstat kstack -v just produce the usage message without
> telling any specific usage error.
> procstat kstack -a says that 'a' is an illegal option.

From the reading the manpage it should be: procstat -a kstack -v

The crash is a regression.  Please file a bugreport.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20171113/5e87adcf/attachment.sig>


More information about the svn-src-head mailing list