HomeFreeBSD

procstat(1): add ability to specify subcommands not requiring pid lists

Description

procstat(1): add ability to specify subcommands not requiring pid lists

Add PS_MODE_NO_KINFO_PROC cmd modifier that indicates that neither
process list should be queried from the kernel, nor list of pids or -a
switch provided on the command line to filter the output.

This is intended for use by commands that query information not
neccessary attributed to specific process.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D34834

Details

Provenance
kibAuthored on Apr 7 2022, 6:27 PM
Reviewer
markj
Differential Revision
D34834: Add procstat(1) advlocks command
Parents
rG50d3c72558f2: libprocstat: document procstat_getadvlock(3)
Branches
Unknown
Tags
Unknown