package
Version:
v1.42.0
Opens a new window with list of versions in this module.
Published: Apr 29, 2022
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Stats returns a process resource stats reader for current process
type CPUStats struct {
User int
System int
}
CPUStats represents CPU stats for a process
type LimitedResource struct {
Current int
Max int
}
LimitedResource represents a limited resource stat
type MemStats struct {
Total int
Shared int
}
MemStats represents memory stats for a process
ResourceLimits represents resource limits for a process
Source Files
¶
Click to show internal directories.
Click to hide internal directories.