Page MenuHomeFreeBSD

kdrakehp_zoho.com
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 12 2016, 2:06 AM (422 w, 6 d)

Recent Activity

Jul 23 2017

kdrakehp_zoho.com updated the diff for D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
  • Correct an overly long line
Jul 23 2017, 7:26 PM
kdrakehp_zoho.com updated the diff for D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
  • Update usage
  • Correct the order of `cmd_table'
  • Remove unnecessary hyphens
  • Correct `manlint' errors
  • Make suggested changes to `procstat.1'
  • Consolidate some variable declarations
  • Add additional `const' specifiers
  • Change flag tests to comparisons
Jul 23 2017, 7:12 PM
kdrakehp_zoho.com added a comment to D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.

Arg. I was ready to go, but ran into conflicts with a change to usage() by @ngie. I'm not sure how best to blend the result. If we add that expansion to the subcommands the result will got from unwieldy to incomprehensible (not to mention not fitting on an 80 column display).

Rather, not fitting on a 45-row terminal. Width is fine, but the message was getting long already.

Jul 23 2017, 12:22 AM

Jul 21 2017

kdrakehp_zoho.com updated the diff for D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
  • Remove ``#!/bin/sh'' from the test script, reverting the previous change
  • Unset the execute bit on the test script
Jul 21 2017, 9:31 PM
kdrakehp_zoho.com updated the diff for D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
  • Add ``#!/bin/sh'' to the test script
Jul 21 2017, 8:19 PM

Jul 20 2017

kdrakehp_zoho.com updated the diff for D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
  • Sort the command table
  • Use the `nitems' macro
  • Add subcommands to the existing tests
Jul 20 2017, 9:40 PM

Jun 1 2017

kdrakehp_zoho.com updated the diff for D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.

Remove substring matching

Jun 1 2017, 9:20 PM
kdrakehp_zoho.com added inline comments to D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
Jun 1 2017, 7:12 PM
kdrakehp_zoho.com updated the diff for D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
  • Add support for looking up plural and/or substring commands
  • Use function pointers instead of enumerated values
  • Reorder the switch statements for getopt(3)
Jun 1 2017, 3:02 AM

May 26 2017

kdrakehp_zoho.com updated the diff for D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
  • Restage changes after r318968
May 26 2017, 9:21 PM
kdrakehp_zoho.com updated the diff for D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
  • Correct the order of upper/lower case options in the getopt string
May 26 2017, 7:56 PM
kdrakehp_zoho.com updated the diff for D10915: usr.bin/procstat: Add missing usage and getopt(3) options.
  • Move the last arguments of usage to a separate line
  • Correct the order of 'L' and 'l' in the getopt string
May 26 2017, 7:33 PM
kdrakehp_zoho.com updated the diff for D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
  • Move the new command verb usages above those of the command flags
  • Add a list of commands to the usage message
  • Add around additional loop bodies
  • Move more command data to the main table, to be more inline with other sub-command implementations in the tree (geom, camcontrol, etc.)
May 26 2017, 4:52 AM

May 25 2017

kdrakehp_zoho.com created D10916: usr.bin/procstat: Switch procstat from subcommand flags to verbs.
May 25 2017, 10:41 PM
kdrakehp_zoho.com created D10915: usr.bin/procstat: Add missing usage and getopt(3) options.
May 25 2017, 10:00 PM