Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akhenakh/statgo
/ functions
Functions
42 in github.com/akhenakh/statgo
⨍
Functions
42
◇
Types & classes
12
↓ 14 callers
Function
NewStat
NewStat return a new Stat handle
statgo.go:18
↓ 6 callers
Method
NetIOStats
NetIOStats get interface ios related stats Go equivalent to sg_get_network_io_stats
net_io_stats.go:45
↓ 5 callers
Method
CPUStats
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 callers
Function
do
do runs f on the main thread.
statgo.go:68
↓ 3 callers
Method
HostInfos
HostInfos get the host informations Go equivalent to sg_host_info
host_info.go:27
↓ 2 callers
Method
PageStats
PageStats get pages related stats Go equivalent to sg_get_page_stats_diff
pages_stats.go:27
↓ 2 callers
Function
getInterface
(arr []*NetIOStats, names ...string)
statgo_test.go:129
↓ 1 callers
Method
DiskIOStats
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 callers
Method
FSInfos
FSInfos return an FSInfo struct per mounted filesystem Go equivalent to sg_get_fs_stats
fs_infos.go:32
↓ 1 callers
Method
InteraceInfos
()
interfaces_infos.go:88
↓ 1 callers
Method
MemStats
MemStats get memory & swap related stats Go equivalent to sg_get_mem_stats & sg_get_swap_stats
mem_stats.go:35
↓ 1 callers
Method
ProcessStats
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 callers
Method
String
()
interfaces_infos.go:36
↓ 1 callers
Method
String
()
interfaces_infos.go:69
↓ 1 callers
Method
free
()
statgo.go:57
Method
MarshalText
()
interfaces_infos.go:40
Method
MarshalText
()
interfaces_infos.go:73
Method
String
()
fs_infos.go:61
Method
String
()
cpu_stats.go:63
Method
String
()
net_io_stats.go:77
Method
String
()
pages_stats.go:46
Method
String
()
mem_stats.go:54
Method
String
()
diskio_stats.go:55
Method
String
()
host_info.go:47
Method
String
()
process_stats.go:46
Method
String
()
interfaces_infos.go:125
Function
TestCPU
(t *testing.T)
statgo_test.go:26
Function
TestCPULoad
(t *testing.T)
statgo_test.go:38
Function
TestDisksIO
(t *testing.T)
statgo_test.go:111
Function
TestFSInfos
(t *testing.T)
statgo_test.go:82
Function
TestGoRoutineCleanup
(t *testing.T)
statgo_test.go:203
Function
TestGoRoutines
(t *testing.T)
statgo_test.go:218
Function
TestHostInfo
(t *testing.T)
statgo_test.go:16
Function
TestHostsInfos
(t *testing.T)
statgo_test.go:248
Function
TestInterfaceInfos
(t *testing.T)
statgo_test.go:92
Function
TestNetIO
(t *testing.T)
statgo_test.go:120
Function
TestNetIOTXRX
(t *testing.T)
statgo_test.go:140
Function
TestPages
(t *testing.T)
statgo_test.go:194
Function
TestProcess
(t *testing.T)
statgo_test.go:185
Function
TestVM
(t *testing.T)
statgo_test.go:102
Method
UnmarshalText
(text []byte)
interfaces_infos.go:44
Method
UnmarshalText
(text []byte)
interfaces_infos.go:77