diff options
author | scottl <scottl@FreeBSD.org> | 2015-03-10 09:41:48 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2015-03-10 09:41:48 +0000 |
commit | 3f792c66dee7ec40f56f5ceed4844daae50e2a82 (patch) | |
tree | 8ee0fc1e0af35fc9eaf2803fdced66f04b22c954 /usr.bin/procstat/procstat.1 | |
parent | 8eb731c1a8818aa9d1b5cda072a6f8842da0d10f (diff) | |
download | FreeBSD-src-3f792c66dee7ec40f56f5ceed4844daae50e2a82.zip FreeBSD-src-3f792c66dee7ec40f56f5ceed4844daae50e2a82.tar.gz |
Implement basic cpuset reporting in procstat via the -S flag.
Obtained from: Netflix, Inc.
MFC after: 3 days
Diffstat (limited to 'usr.bin/procstat/procstat.1')
-rw-r--r-- | usr.bin/procstat/procstat.1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/procstat/procstat.1 b/usr.bin/procstat/procstat.1 index f33c746..5cc7cc8 100644 --- a/usr.bin/procstat/procstat.1 +++ b/usr.bin/procstat/procstat.1 @@ -35,7 +35,7 @@ .Nm .Op Fl CHhn .Op Fl w Ar interval -.Op Fl b | c | e | f | i | j | k | l | r | s | t | v | x +.Op Fl b | c | e | f | i | j | k | l | r | s | S | t | v | x .Op Fl a | Ar pid | Ar core ... .Sh DESCRIPTION The @@ -75,6 +75,8 @@ Display resource limits for the process. Display resource usage information for the process. .It Fl s Display security credential information for the process. +.It Fl S +Display the cpuset information for the thread. .It Fl t Display thread information for the process. .It Fl v @@ -108,9 +110,16 @@ flag may be used to request per-thread statistics rather than per-process statistics for some options. For those options, the second field in the table will list the thread ID to which the row of information corresponds. +The +.Fl H +flag is implied for the +.Fl S +mode. .Pp -Some information, such as VM and file descriptor information, is available +Information for VM, file descriptor, and cpuset options is available only to the owner of a process or the superuser. +A cpuset value displayed as -1 means that the information is either invalid +or not available. .Ss Binary Information Display the process ID, command, and path to the process binary: .Pp |