Project

General

Profile

Bug #11256

prstat man page says -v and -m are different, but they aren't

Added by Brian Bennett 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

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

History

#1

Updated by Electric Monk 4 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit 7356a1b7ef0e3031dd95591ad0564da26cf959dc

commit  7356a1b7ef0e3031dd95591ad0564da26cf959dc
Author: Brian Bennett <brian.bennett@joyent.com>
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 <john.levon@joyent.com>
    Reviewed by: Dan McDonald <danmcd@joyent.com>
    Approved by: Joshua M. Clulow <josh@sysmgr.org>

Also available in: Atom PDF