Documentation ¶
Index ¶
- type PerfS
- func (p *PerfS) CPUInfo(c echo.Context) error
- func (p *PerfS) CPUTime(c echo.Context) error
- func (p *PerfS) CPUUtil(c echo.Context) error
- func (p *PerfS) DiskIO(c echo.Context) error
- func (p *PerfS) DiskPart(c echo.Context) error
- func (p *PerfS) HostInfo(c echo.Context) error
- func (p *PerfS) Load(c echo.Context) error
- func (p *PerfS) Memory(c echo.Context) error
- func (p *PerfS) NetIF(c echo.Context) error
- func (p *PerfS) NetStats(c echo.Context) error
- func (p *PerfS) Poll(ctx context.Context)
- func (p *PerfS) Procs(c echo.Context) error
- func (p *PerfS) Start(log logadapter.Logger)
- func (p *PerfS) Stop()
- func (p *PerfS) Swap(c echo.Context) error
- func (p *PerfS) Temps(c echo.Context) error
- func (p *PerfS) Users(c echo.Context) error
- type PerfStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PerfS ¶
type PerfS struct { Performance PerfStats // contains filtered or unexported fields }
var Perf PerfS
type PerfStats ¶
type PerfStats struct { Cpuinfo []cpu.InfoStat Cputime []cpu.TimesStat Cpuutilization []float64 Diskpartions []disk.PartitionStat Diskiocounter map[string]disk.IOCountersStat Hostinfo *host.InfoStat Hosttemp []host.TemperatureStat Hostusers []host.UserStat Loadavg *load.AvgStat Loadprocs *load.MiscStat Memstats *mem.VirtualMemoryStat Memswap *mem.SwapMemoryStat Netstats []net.IOCountersStat Netaddr []net.InterfaceStat }
Click to show internal directories.
Click to hide internal directories.