Module libproc::pid_rusage
source · Expand description
Get information about resource usage of processes Information about Process Resource Usage - added in Mac OS X 10.9
Structs§
- C struct for Resource Usage Version 0
- C struct for Resource Usage Version 1
- C struct for Resource Usage Version 2
- C struct for Resource Usage Version 3
- C struct for Resource Usage Version 4
Enums§
PidRUsageFlavor
From https://opensource.apple.com/source/xnu/xnu-4903.221.2/bsd/sys/resource.h
Traits§
- The
PIDRUsage
trait is needed for polymorphism on pidrusage types, also abstracting flavor in order to provide type-guaranteed flavor correctness
Functions§
- Returns the information about resources of the process that match pid passed in.