Documentation ¶ Index ¶ type Stat_t func Stat(pid int) (stat Stat_t, err error) type State func (s State) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Stat_t ¶ type Stat_t struct { Name string State State StartTime uint64 } func Stat ¶ func Stat(pid int) (stat Stat_t, err error) type State ¶ type State rune const ( Dead State = 'X' DiskSleep State = 'D' Running State = 'R' Sleeping State = 'S' Stopped State = 'T' TracingStop State = 't' Zombie State = 'Z' Parked State = 'P' Idle State = 'I' ) func (State) String ¶ func (s State) String() string Source Files ¶ View all Source files stat.go Click to show internal directories. Click to hide internal directories.