Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessInfo ¶
type ProcessInfo struct { Pid int32 `json:"pid"` Name string `json:"name"` Cwd string `json:"cwd"` Status string `json:"status"` Parent int32 `json:"parent"` NumThreads int32 `json:"numThreads"` Cmdline string `json:"cmdline"` CreateTime string `json:"createTime"` LastTime string `json:"lastTime"` //采集时间 }
func GetProcessInfo ¶
func GetProcessInfo() *ProcessInfo
func NewProcessInfo ¶
func NewProcessInfo() *ProcessInfo
func (ProcessInfo) String ¶
func (o ProcessInfo) String() string
Click to show internal directories.
Click to hide internal directories.