prstat man page says -v and -m are different, but they aren't
Looking at the output of prstat and trying to understand the displayed columns by -m and -v, I noticed that despite -m and -v having different descriptions in the man page, the output was the same. Robert Mustacci confirmed that they both take the same code path, and have at least as long as we have commit history available. At some point in the past, the behavior of -m and -v was combined into a superset of columns, but the flag descriptions in the man page were never updated.
The description under OUTPUT correctly states that the two flags have the same output, but the individual flag descriptions each only have a partial list of the columns displayed.
Note: This bug mirrors Joyent-internal bug OS-7826
Updated by Electric Monk 4 months ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit 7356a1b7ef0e3031dd95591ad0564da26cf959dc Author: Brian Bennett <firstname.lastname@example.org> Date: 2019-07-05T22:35:13.000Z 11256 prstat man page says -v and -m are different, but they aren't Reviewed by: John Levon <email@example.com> Reviewed by: Dan McDonald <firstname.lastname@example.org> Approved by: Joshua M. Clulow <email@example.com>