Documentation
¶
Index ¶
- Constants
- func BrushMempprof() []byte
- func BrushSummary(w io.Writer)
- func LookupGoroutine() []byte
- func LookupThreadcreate() []byte
- func StartCpupprof() []byte
- type Cpu
- type CpuList
- type FileSystem
- type FileSystemList
- type FileSystemUsage
- type LoadAverage
- type Mem
- type ProcArgs
- type ProcExe
- type ProcList
- type ProcMem
- type ProcState
- type ProcTime
- type RunState
- type Swap
- type Uptime
Constants ¶
View Source
const ( RunStateSleep = 'S' RunStateRun = 'R' RunStateStop = 'T' RunStateZombie = 'Z' RunStateIdle = 'D' RunStateUnknown = '?' )
Variables ¶
This section is empty.
Functions ¶
func BrushMempprof ¶
func BrushMempprof() []byte
func BrushSummary ¶
func LookupGoroutine ¶
func LookupGoroutine() []byte
func LookupThreadcreate ¶
func LookupThreadcreate() []byte
func StartCpupprof ¶
func StartCpupprof() []byte
Types ¶
type Cpu ¶
type FileSystem ¶
type FileSystemList ¶
type FileSystemList struct {
List []FileSystem
}
func (*FileSystemList) Get ¶
func (self *FileSystemList) Get() error
type FileSystemUsage ¶
type LoadAverage ¶
type LoadAverage struct {
One, Five, Fifteen float64
}
func (*LoadAverage) Get ¶
func (self *LoadAverage) Get() error
type ProcMem ¶
type ProcState ¶
Click to show internal directories.
Click to hide internal directories.