Versions in this module Expand all Collapse all v0 v0.4.0 Apr 7, 2016 v0.4.0-rc3 Mar 15, 2016 v0.4.0-rc2 Feb 13, 2016 v0.4.0-rc1 Jan 28, 2016 v0.3.11 Jan 12, 2016 v0.3.11-rc1 Jan 2, 2016 v0.3.10 Dec 8, 2015 v0.3.9 Oct 31, 2015 v0.3.8 Oct 19, 2015 v0.3.8-dev-trailers Oct 1, 2015 v0.3.7 Aug 2, 2015 v0.3.6 Jul 30, 2015 Changes in this version + const DefaultMountPoint + type FS string + func NewFS(mountPoint string) (FS, error) + func (fs FS) AllProcs() (Procs, error) + func (fs FS) NewIPVSBackendStatus() ([]IPVSBackendStatus, error) + func (fs FS) NewIPVSStats() (IPVSStats, error) + func (fs FS) NewProc(pid int) (Proc, error) + func (fs FS) NewStat() (Stat, error) + type IPVSBackendStatus struct + ActiveConn uint64 + InactConn uint64 + LocalAddress net.IP + LocalPort uint16 + Proto string + RemoteAddress net.IP + RemotePort uint16 + Weight uint64 + func NewIPVSBackendStatus() ([]IPVSBackendStatus, error) + type IPVSStats struct + Connections uint64 + IncomingBytes uint64 + IncomingPackets uint64 + OutgoingBytes uint64 + OutgoingPackets uint64 + func NewIPVSStats() (IPVSStats, error) + type Proc struct + PID int + func NewProc(pid int) (Proc, error) + func Self() (Proc, error) + func (p Proc) CmdLine() ([]string, error) + func (p Proc) Executable() (string, error) + func (p Proc) FileDescriptorTargets() ([]string, error) + func (p Proc) FileDescriptors() ([]uintptr, error) + func (p Proc) FileDescriptorsLen() (int, error) + func (p Proc) NewIO() (ProcIO, error) + func (p Proc) NewLimits() (ProcLimits, error) + func (p Proc) NewStat() (ProcStat, error) + type ProcIO struct + CancelledWriteBytes int64 + RChar uint64 + ReadBytes uint64 + SyscR uint64 + SyscW uint64 + WChar uint64 + WriteBytes uint64 + type ProcLimits struct + AddressSpace int + CPUTime int + CoreFileSize int + DataSize int + FileLocks int + FileSize int + LockedMemory int + MsqqueueSize int + NicePriority int + OpenFiles int + PendingSignals int + Processes int + RealtimePriority int + RealtimeTimeout int + ResidentSet int + StackSize int + type ProcStat struct + CMajFlt uint + CMinFlt uint + CSTime uint + CUTime uint + Comm string + Flags uint + MajFlt uint + MinFlt uint + Nice int + NumThreads int + PGRP int + PID int + PPID int + Priority int + RSS int + STime uint + Session int + Starttime uint64 + State string + TPGID int + TTY int + UTime uint + VSize int + func (s ProcStat) CPUTime() float64 + func (s ProcStat) ResidentMemory() int + func (s ProcStat) StartTime() (float64, error) + func (s ProcStat) VirtualMemory() int + type Procs []Proc + func AllProcs() (Procs, error) + func (p Procs) Len() int + func (p Procs) Less(i, j int) bool + func (p Procs) Swap(i, j int) + type Stat struct + BootTime int64 + func NewStat() (Stat, error)