Documentation ¶
Overview ¶
************************************************************************
> File Name: nginx.go > Author: Kee > Mail: chinboy2012@gmail.com > Created Time: 2017.12.04
***********************************************************************
************************************************************************
> File Name: nginx_status.go > Author: Kee > Mail: chinboy2012@gmail.com > Created Time: 2017.12.06
***********************************************************************
Index ¶
- type Addr
- type Memory
- type Network
- type Networks
- type Nginx
- type Process
- func (this *Process) Children() []int32
- func (this *Process) Cpu() float64
- func (this *Process) CreateTime() int64
- func (this *Process) Host() *host.InfoStat
- func (this *Process) Internal() []string
- func (this *Process) Memory() *Memory
- func (this *Process) Networks() *Networks
- func (this *Process) New(pid int32) (*Process, error)
- func (this *Process) StartDateTime() string
- func (this *Process) Status() string
- func (this *Process) Time() float32
- type Result
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Networks ¶
type Networks struct { Network []*Network `json:"network"` IOCounters []pnet.IOCountersStat `json:"io_counters"` Total map[string]int `json:"total"` }
type Status ¶
type Status struct { PID int32 `json:"pid"` CPU float32 `json:"cpu"` Memory *Memory `json:"memory"` Status string `json:"status"` Start string `json:"start_at"` Time float32 `json:"time"` Host *host.InfoStat `json:"host"` Subpid []int32 `json:"sub_pid"` IpAddrs []string `json:"ip_address"` Networks *Networks `json:"networks"` }
Click to show internal directories.
Click to hide internal directories.