Documentation
¶
Index ¶
- func CompareVersions(v1 string, v2 string) (int64, error)
- func GetDF() []strucdf
- func GetFieldValFromFile(filename string, bkfld int, bkfldval string, fld int) string
- func GetIpFromName(ifaceName string) ([]string, error)
- func GetMountSpace(path string) (int64, int64, error)
- func GetOutboundIP() string
- func GetStatsAll() (string, error)
- func GetStatsDisk() ([]diskstats, error)
- func GetStatsNet() ([]netstats, error)
- func GetStatsSys() (procstats, error)
- func GetUptime() (time.Duration, error)
- func GetValFromFile(filename string, scase int) string
- func LinkShow(detailed bool) ([]netlink.Link, error)
- func LookupLinuxUserById(id int) (string, error)
- func MakeStdDev(series []float64, avg float64) float64
- func Ping(addr string, prot string, cnt int, iface string, statsonly bool) (pingStats, error)
- func ReadLines(filename string) ([]string, error)
- func ReadLinesNoFrills(filename string, hdrLines int, comm string) ([]string, error)
- type TracerouteHop
- type TracerouteResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFieldValFromFile ¶
func GetIpFromName ¶
func GetOutboundIP ¶
func GetOutboundIP() string
func GetStatsAll ¶
func GetStatsDisk ¶
func GetStatsDisk() ([]diskstats, error)
func GetStatsNet ¶
func GetStatsNet() ([]netstats, error)
func GetStatsSys ¶
func GetStatsSys() (procstats, error)
func GetValFromFile ¶
func LookupLinuxUserById ¶
func MakeStdDev ¶
Types ¶
type TracerouteResult ¶
type TracerouteResult struct { Address net.IP Hops []TracerouteHop }
func Traceroute ¶
func Traceroute(host string) (TracerouteResult, error)
Click to show internal directories.
Click to hide internal directories.