MCPcopy Index your code

hub / github.com/c9s/goprocinfo / functions

Functions81 in github.com/c9s/goprocinfo

↓ 6 callersMethodNumCore
()
linux/cpuinfo.go:18
↓ 6 callersMethodNumPhysicalCPU
()
linux/cpuinfo.go:37
↓ 4 callersFunctionReadProcessStat
(path string)
linux/process_stat.go:68
↓ 3 callersFunctionReadCPUInfo
(path string)
linux/cpuinfo.go:70
↓ 3 callersFunctionReadProcessCmdline
(path string)
linux/process_cmdline.go:8
↓ 2 callersFunctionNetIPv4Decoder
NetIPv4Decoder decodes an IPv4 address with port from a given hex string NOTE: This function match NetIPDecoder type
linux/net_ip.go:87
↓ 2 callersFunctionNetIPv6Decoder
NetIPv6Decoder decodes an IPv6 address with port from a given hex string NOTE: This function match NetIPDecoder type
linux/net_ip.go:128
↓ 2 callersMethodNumCPU
()
linux/cpuinfo.go:14
↓ 2 callersFunctionReadMemInfo
(path string)
linux/meminfo.go:57
↓ 2 callersFunctionReadNetStat
(path string)
linux/netstat.go:136
↓ 2 callersFunctionReadNetTCPSockets
(path string, ip NetIPDecoder)
linux/net_tcp.go:23
↓ 2 callersFunctionReadNetUDPSockets
(path string, ip NetIPDecoder)
linux/net_udp.go:18
↓ 2 callersFunctionReadNetworkStat
(path string)
linux/network_stat.go:29
↓ 2 callersFunctionReadProcessIO
(path string)
linux/process_io.go:21
↓ 2 callersFunctionReadProcessStatm
(path string)
linux/process_statm.go:20
↓ 2 callersFunctionReadProcessStatus
(path string)
linux/process_status.go:57
↓ 2 callersFunctioncompareExpectedReadFieldsMemInfo
This is a helper function which makes it easier to track down errors in expected versus read values.
linux/meminfo_test.go:47
↓ 2 callersFunctioncompareExpectedReadFieldsNetStat
This is a helper function which makes it easier to track down errors in expected versus read values.
linux/netstat_test.go:49
↓ 2 callersFunctionparseNetSocket
(f []string, ip NetIPDecoder)
linux/net_ip.go:29
↓ 1 callersMethodGetIdleDuration
()
linux/uptime.go:19
↓ 1 callersMethodGetTotalDuration
()
linux/uptime.go:15
↓ 1 callersFunctionListPID
(path string, max uint64)
linux/process_pid.go:31
↓ 1 callersFunctionReadDisk
(path string)
linux/disk.go:14
↓ 1 callersFunctionReadDiskStats
ReadDiskStats reads and parses the file. Note: * Assumes a well formed file and will panic if it isn't.
linux/diskstat.go:41
↓ 1 callersFunctionReadInterrupts
(path string)
linux/interrupts.go:19
↓ 1 callersFunctionReadLoadAvg
(path string)
linux/loadavg.go:19
↓ 1 callersFunctionReadMaxPID
(path string)
linux/process_pid.go:11
↓ 1 callersFunctionReadMounts
(path string)
linux/mounts.go:24
↓ 1 callersFunctionReadNetUnixDomainSockets
ReadNetUnixDomainSockets parser to /proc/net/unix
linux/net_unix.go:25
↓ 1 callersFunctionReadProcess
(pid uint64, path string)
linux/process.go:17
↓ 1 callersFunctionReadProcessSchedStat
(path string)
linux/process_sched_stat.go:16
↓ 1 callersFunctionReadSnmp
(path string)
linux/snmp.go:105
↓ 1 callersFunctionReadSockStat
(path string)
linux/sockstat.go:52
↓ 1 callersFunctionReadStat
(path string)
linux/stat.go:67
↓ 1 callersFunctionReadUptime
(path string)
linux/uptime.go:29
↓ 1 callersFunctionReadVMStat
(path string)
linux/vmstat.go:126
↓ 1 callersFunctioncompareExpectedReadFieldsSnmp
(expected *Snmp, read *Snmp)
linux/snmp_test.go:31
↓ 1 callersFunctioncreateCPUStat
(fields []string)
linux/stat.go:35
↓ 1 callersFunctionexpectedData
()
linux/net_unix_test.go:53
MethodCalculateIdle
()
linux/uptime.go:23
MethodGetIOTicks
GetIOTicks returns the duration the disk has been active.
linux/diskstat.go:93
MethodGetReadBytes
GetReadBytes returns the number of bytes read.
linux/diskstat.go:73
MethodGetReadTicks
GetReadTicks returns the duration waited for read requests.
linux/diskstat.go:78
MethodGetTimeInQueue
GetTimeInQueue returns the duration waited for all requests.
linux/diskstat.go:98
MethodGetWriteBytes
GetWriteBytes returns the number of bytes written.
linux/diskstat.go:83
MethodGetWriteTicks
GetWriteTicks returns the duration waited for write requests.
linux/diskstat.go:88
FunctionTestCPUInfo
(t *testing.T)
linux/cpuinfo_test.go:5
FunctionTestCPUStat
(t *testing.T)
linux/stat_test.go:5
FunctionTestDisk
(t *testing.T)
linux/disk_test.go:5
FunctionTestDiskStats
(t *testing.T)
linux/diskstat_test.go:8
FunctionTestInterrupts
(t *testing.T)
linux/interrupts_test.go:5
FunctionTestListPID
(t *testing.T)
linux/process_pid_test.go:23
FunctionTestLoadAvg
(t *testing.T)
linux/loadavg_test.go:8
FunctionTestMaxPID
(t *testing.T)
linux/process_pid_test.go:8
FunctionTestMemInfo
(t *testing.T)
linux/meminfo_test.go:9
FunctionTestMounts
(t *testing.T)
linux/mounts_test.go:7
FunctionTestNetIPv4DecoderLocal
(t *testing.T)
linux/net_ip_test.go:22
FunctionTestNetIPv4DecoderRemote
(t *testing.T)
linux/net_ip_test.go:7
FunctionTestNetIPv6DecoderLocal
(t *testing.T)
linux/net_ip_test.go:52
FunctionTestNetIPv6DecoderRemote
(t *testing.T)
linux/net_ip_test.go:37
FunctionTestNetStat
(t *testing.T)
linux/netstat_test.go:7
FunctionTestNetworkStat
(t *testing.T)
linux/network_stat_test.go:6
FunctionTestReadNetTCP
(t *testing.T)
linux/net_tcp_test.go:8
FunctionTestReadNetTCP6
(t *testing.T)
linux/net_tcp_test.go:67
FunctionTestReadNetUDP
(t *testing.T)
linux/net_udp_test.go:8
FunctionTestReadNetUDP6
(t *testing.T)
linux/net_udp_test.go:70
FunctionTestReadNetUnixDomainSockets
(t *testing.T)
linux/net_unix_test.go:8
FunctionTestReadProcess
(t *testing.T)
linux/process_test.go:8
FunctionTestReadProcessCmdlineComplex
(t *testing.T)
linux/process_cmdline_test.go:24
FunctionTestReadProcessCmdlineSimple
(t *testing.T)
linux/process_cmdline_test.go:7
FunctionTestReadProcessIO
(t *testing.T)
linux/process_io_test.go:8
FunctionTestReadProcessSchedStat
(t *testing.T)
linux/process_sched_stat_test.go:8
FunctionTestReadProcessStat
(t *testing.T)
linux/process_stat_test.go:8
FunctionTestReadProcessStatWithDoubleParentheses
(t *testing.T)
linux/process_stat_test.go:132
FunctionTestReadProcessStatWithSpace
(t *testing.T)
linux/process_stat_test.go:70
FunctionTestReadProcessStatm
(t *testing.T)
linux/process_statm_test.go:8
FunctionTestReadProcessStatus
(t *testing.T)
linux/process_status_test.go:8
FunctionTestSnmp
(t *testing.T)
linux/snmp_test.go:9
FunctionTestSockStat
(t *testing.T)
linux/sockstat_test.go:8
FunctionTestUptime
(t *testing.T)
linux/uptime_test.go:5
FunctionTestVMStat
(t *testing.T)
linux/vmstat_test.go:5