HomeFreeBSD

Switch procstat from subcommand flags to verbs

Description

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@zoho.com
Differential Revision: https://reviews.freebsd.org/D10916

Details

Provenance
brooksAuthored on
Differential Revision
D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs
Parents
rS324618: MFC r324146:
Branches
Unknown
Tags
Unknown