Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Stat ¶
type Stat struct { Pid int // %d Comm string // %s State string // %c Ppid int // %d Pgrp int // %d Session int // %d TtyNr uint // %d Tpgid int // %d Flags uint // %u MinFlt uint64 // %lu CminFlt uint64 // %lu MajFlt uint64 // %lu CmajFlt uint64 // %lu Utime time.Duration // %lu Stime time.Duration // %lu Cutime time.Duration // %ld Cstime time.Duration // %ld Priority int64 // %ld Nice int64 // %ld NumThreads int64 // %ld ItRealValue int64 // %ld StartTime time.Time // %llu Vsize uint64 // %lu Rss int64 // %ld RssLim uint64 // %lu StartCode uint64 // %lu EndCode uint64 // %lu StartStack uint64 // %lu KstkESP uint64 // %lu KstkEIP uint64 // %lu Signal uint64 // %lu Blocked uint64 // %lu SigIgnore uint64 // %lu SigCatch uint64 // %lu Wchan uint64 // %lu Nswap uint64 // %lu Cnswap uint64 // %lu ExitSignal int // %d (since Linux 2.1.22) Processor int // %d (since Linux 2.2.8) RtPriority uint // %u (since Linux 2.5.19) Policy uint // %u (since Linux 2.5.19) DelayAcctBlkioTicks uint64 // %llu (since Linux 2.6.18) GuestTime uint64 // %lu (since Linux 2.6.24) CguestTime uint64 // %ld (since Linux 2.6.24) StartData uint64 // %lu (since Linux 3.3) EndData uint64 // %lu (since Linux 3.3) StartBrk uint64 // %lu (since Linux 3.3) ArgStart uint64 // %lu (since Linux 3.5) ArgEnd uint64 // %lu (since Linux 3.5) EnvStart uint64 // %lu (since Linux 3.5) EnvEnd uint64 // %lu (since Linux 3.5) ExitCode int // %d (since Linux 3.5) }
Linux /proc/<PID|"self">/stat
Click to show internal directories.
Click to hide internal directories.