MCPcopy Create free account

hub / github.com/akhenakh/statgo / functions

Functions42 in github.com/akhenakh/statgo

↓ 14 callersFunctionNewStat
NewStat return a new Stat handle
statgo.go:18
↓ 6 callersMethodNetIOStats
NetIOStats get interface ios related stats Go equivalent to sg_get_network_io_stats
net_io_stats.go:45
↓ 5 callersMethodCPUStats
CPUStats get cpu related stats note that 1st call to 100ms may return NaN as values Go equivalent to sg_cpu_percents
cpu_stats.go:35
↓ 4 callersFunctiondo
do runs f on the main thread.
statgo.go:68
↓ 3 callersMethodHostInfos
HostInfos get the host informations Go equivalent to sg_host_info
host_info.go:27
↓ 2 callersMethodPageStats
PageStats get pages related stats Go equivalent to sg_get_page_stats_diff
pages_stats.go:27
↓ 2 callersFunctiongetInterface
(arr []*NetIOStats, names ...string)
statgo_test.go:129
↓ 1 callersMethodDiskIOStats
DiskIOStats get I/Os related stats note that 1st call to 100ms may return NaN as values Go equivalent to sg_disk_io_stats
diskio_stats.go:28
↓ 1 callersMethodFSInfos
FSInfos return an FSInfo struct per mounted filesystem Go equivalent to sg_get_fs_stats
fs_infos.go:32
↓ 1 callersMethodInteraceInfos
()
interfaces_infos.go:88
↓ 1 callersMethodMemStats
MemStats get memory & swap related stats Go equivalent to sg_get_mem_stats & sg_get_swap_stats
mem_stats.go:35
↓ 1 callersMethodProcessStats
ProcessStats get prceosses related stats note that 1st call to 100ms may return NaN as values Go equivalent to sg_cpu_percents
process_stats.go:29
↓ 1 callersMethodString
()
interfaces_infos.go:36
↓ 1 callersMethodString
()
interfaces_infos.go:69
↓ 1 callersMethodfree
()
statgo.go:57
MethodMarshalText
()
interfaces_infos.go:40
MethodMarshalText
()
interfaces_infos.go:73
MethodString
()
fs_infos.go:61
MethodString
()
cpu_stats.go:63
MethodString
()
net_io_stats.go:77
MethodString
()
pages_stats.go:46
MethodString
()
mem_stats.go:54
MethodString
()
diskio_stats.go:55
MethodString
()
host_info.go:47
MethodString
()
process_stats.go:46
MethodString
()
interfaces_infos.go:125
FunctionTestCPU
(t *testing.T)
statgo_test.go:26
FunctionTestCPULoad
(t *testing.T)
statgo_test.go:38
FunctionTestDisksIO
(t *testing.T)
statgo_test.go:111
FunctionTestFSInfos
(t *testing.T)
statgo_test.go:82
FunctionTestGoRoutineCleanup
(t *testing.T)
statgo_test.go:203
FunctionTestGoRoutines
(t *testing.T)
statgo_test.go:218
FunctionTestHostInfo
(t *testing.T)
statgo_test.go:16
FunctionTestHostsInfos
(t *testing.T)
statgo_test.go:248
FunctionTestInterfaceInfos
(t *testing.T)
statgo_test.go:92
FunctionTestNetIO
(t *testing.T)
statgo_test.go:120
FunctionTestNetIOTXRX
(t *testing.T)
statgo_test.go:140
FunctionTestPages
(t *testing.T)
statgo_test.go:194
FunctionTestProcess
(t *testing.T)
statgo_test.go:185
FunctionTestVM
(t *testing.T)
statgo_test.go:102
MethodUnmarshalText
(text []byte)
interfaces_infos.go:44
MethodUnmarshalText
(text []byte)
interfaces_infos.go:77