process

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL