Versions in this module Expand all Collapse all v0 v0.14.2 Apr 8, 2015 v0.14.1 Apr 1, 2015 v0.14.0 Mar 30, 2015 v0.13.2 Mar 19, 2015 v0.13.1 Mar 17, 2015 v0.13.1-dev Mar 16, 2015 v0.13.0 Mar 16, 2015 v0.12.2 Mar 16, 2015 v0.12.1 Mar 11, 2015 v0.12.0 Mar 3, 2015 v0.11.0 Feb 18, 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) NewProc(pid int) (Proc, error) + func (fs FS) NewStat() (Stat, 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) FileDescriptors() ([]uintptr, error) + func (p Proc) FileDescriptorsLen() (int, error) + func (p Proc) NewLimits() (ProcLimits, error) + func (p Proc) NewStat() (ProcStat, error) + 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)