Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/prometheus/procfs
/ functions
Functions
751 in github.com/prometheus/procfs
⨍
Functions
751
◇
Types & classes
267
Function
TestNVMeNamespaceMissingFiles
(t *testing.T)
sysfs/class_nvme_test.go:319
Function
TestNVMeNamespaceParsingWithMockData
(t *testing.T)
sysfs/class_nvme_test.go:71
Function
TestNVMeSubsystemClass
(t *testing.T)
sysfs/class_nvme_subsystem_test.go:26
Function
TestNVMeSubsystemClassEmpty
(t *testing.T)
sysfs/class_nvme_subsystem_test.go:84
Function
TestNVMeSubsystemClassNotPresent
(t *testing.T)
sysfs/class_nvme_subsystem_test.go:70
Function
TestNetClass
(t *testing.T)
sysfs/net_class_test.go:64
Function
TestNetDev
(t *testing.T)
net_dev_test.go:37
Function
TestNetDevParseLine
(t *testing.T)
net_dev_test.go:21
Function
TestNetDevSNMP6
(t *testing.T)
net_dev_snmp6_test.go:21
Function
TestNetSockstat
The majority of test cases are covered in Test_parseSockstat. The top level tests just check the basics for integration test purposes.
net_sockstat_test.go:27
Function
TestNetSockstat6
(t *testing.T)
net_sockstat_test.go:55
Function
TestNetSoftnet
(t *testing.T)
net_softnet_test.go:22
Function
TestNetStat
(t *testing.T)
netstat_test.go:20
Function
TestNetUnix
(t *testing.T)
net_unix_test.go:28
Function
TestNetUnixNoInode
(t *testing.T)
net_unix_test.go:42
Function
TestNewClocksource
(t *testing.T)
sysfs/clocksource_test.go:24
Function
TestNewFS
(t *testing.T)
fs_test.go:22
Function
TestNewFS
(t *testing.T)
sysfs/fs_test.go:24
Function
TestNewFS
(t *testing.T)
internal/fs/fs_test.go:22
Function
TestNewFS
(t *testing.T)
selinuxfs/fs_test.go:24
Function
TestNewNFSClientRPCStats
(t *testing.T)
nfs/parse_nfs_test.go:25
Function
TestNewNFSdServerRPCStats
(t *testing.T)
nfs/parse_nfsd_test.go:25
Function
TestNewNamespaces
(t *testing.T)
proc_ns_test.go:20
Function
TestNewNetClassDevices
(t *testing.T)
sysfs/net_class_test.go:24
Function
TestNewNetClassDevicesByIface
(t *testing.T)
sysfs/net_class_test.go:43
Function
TestNewRaplValues
(t *testing.T)
sysfs/class_powercap_test.go:48
Function
TestNoRaplFiles
(t *testing.T)
sysfs/class_powercap_test.go:35
Function
TestNsPids
(t *testing.T)
proc_status_test.go:146
Function
TestPSIStats
(t *testing.T)
proc_psi_test.go:21
Function
TestParseBuddyInfoShort
(t *testing.T)
buddyinfo_test.go:44
Function
TestParseBuddyInfoSizeMismatch
(t *testing.T)
buddyinfo_test.go:60
Function
TestParseCapabilities
(t *testing.T)
net_protocols_test.go:20
Function
TestParseCgroupString
(t *testing.T)
proc_cgroup_test.go:22
Function
TestParseCgroupSummaryString
(t *testing.T)
proc_cgroups_test.go:22
Function
TestParseConntrackStat
(t *testing.T)
net_conntrackstat_test.go:23
Function
TestParseCounterFileHumanReadable
(t *testing.T)
bcachefs/get_test.go:93
Function
TestParseDeviceLocation
(t *testing.T)
sysfs/pci_device_test.go:154
Function
TestParseHumanReadableBytes
(t *testing.T)
bcachefs/get_test.go:22
Function
TestParseIPPort
(t *testing.T)
ipvs_test.go:176
Function
TestParseIPPortIPv6
(t *testing.T)
ipvs_test.go:206
Function
TestParseIPPortInvalid
(t *testing.T)
ipvs_test.go:189
Function
TestParseNFNetLinkQueueLine
(t *testing.T)
nfnetlink_queue_test.go:22
Function
TestParseNetRoute
(t *testing.T)
net_route_test.go:23
Function
TestParseOldConntrackStat
(t *testing.T)
net_conntrackstat_test.go:88
Function
TestParsePSIStats
TestParsePSIStats tests the edge cases that we won't run into when running TestPSIStats.
proc_psi_test.go:111
Function
TestParsePseudoFloatTests
(t *testing.T)
bcache/get_test.go:113
Function
TestParseSlowRate
(t *testing.T)
sysfs/class_infiniband_test.go:24
Function
TestParseStats
(t *testing.T)
xfs/parse_test.go:25
Function
TestParseStatsLinux614
(t *testing.T)
xfs/parse_test.go:1246
Function
TestParseStatsLinux70
(t *testing.T)
xfs/parse_test.go:1260
Function
TestParseSwapString
(t *testing.T)
swaps_test.go:55
Function
TestParseVMStatNUMA
(t *testing.T)
sysfs/vmstat_numa_test.go:22
Function
TestPciDevices
(t *testing.T)
sysfs/pci_device_test.go:24
Function
TestPowerSupplyClass
(t *testing.T)
sysfs/class_power_supply_test.go:24
Function
TestPriorityStats
(t *testing.T)
bcache/get_test.go:139
Function
TestProcEnviron
(t *testing.T)
proc_environ_test.go:18
Function
TestProcIO
(t *testing.T)
proc_io_test.go:18
Function
TestProcInterrupts
(t *testing.T)
proc_interrupts_test.go:22
Function
TestProcMaps
(t *testing.T)
proc_maps64_test.go:25
Function
TestProcMaps
(t *testing.T)
proc_maps32_test.go:25
Function
TestProcNetDev
(t *testing.T)
net_dev_test.go:65
Function
TestProcNetDevSNMP6
(t *testing.T)
net_dev_snmp6_test.go:37
Function
TestProcNetstat
(t *testing.T)
proc_netstat_test.go:20
Function
TestProcSchedstat
(t *testing.T)
schedstat_test.go:54
Function
TestProcSchedstatErrors
(t *testing.T)
schedstat_test.go:78
Function
TestProcSchedstatMultipleLines
schedstat can have a 2nd line: it should be ignored.
schedstat_test.go:101
Function
TestProcSchedstatUnparsableInt
(t *testing.T)
schedstat_test.go:117
Function
TestProcSmapsRollup
(t *testing.T)
proc_smaps_test.go:38
Function
TestProcSnmp
(t *testing.T)
proc_snmp_test.go:18
Function
TestProcSnmp6
(t *testing.T)
proc_snmp6_test.go:18
Function
TestProcStat
(t *testing.T)
proc_stat_test.go:22
Function
TestProcStatCPUTime
(t *testing.T)
proc_stat_test.go:165
Function
TestProcStatComm
(t *testing.T)
proc_stat_test.go:110
Function
TestProcStatLimits
(t *testing.T)
proc_stat_test.go:84
Function
TestProcStatResidentMemory
(t *testing.T)
proc_stat_test.go:139
Function
TestProcStatStartTime
(t *testing.T)
proc_stat_test.go:150
Function
TestProcStatVirtualMemory
(t *testing.T)
proc_stat_test.go:128
Function
TestProcStatm
(t *testing.T)
proc_statm_test.go:22
Function
TestProcStatmLimits
(t *testing.T)
proc_statm_test.go:48
Function
TestProcStatus
(t *testing.T)
proc_status_test.go:22
Function
TestProcStatusGIDs
(t *testing.T)
proc_status_test.go:112
Function
TestProcStatusName
(t *testing.T)
proc_status_test.go:68
Function
TestProcStatusNameTrim
(t *testing.T)
proc_status_test.go:82
Function
TestProcStatusUIDs
(t *testing.T)
proc_status_test.go:96
Function
TestProtocolsParseLine
(t *testing.T)
net_protocols_test.go:34
Function
TestProtocolsParseProtocols
(t *testing.T)
net_protocols_test.go:48
Function
TestReadMountInfoExceeds1MiB
TestReadMountInfoExceeds1MiB verifies that a mountinfo file larger than 1 MiB is read and parsed in full. The util.ReadFileNoStat helper caps reads at
mountinfo_readfull_test.go:30
Function
TestReadProcStat
(t *testing.T)
xfs/xfs_test.go:23
Function
TestReadSysStats
(t *testing.T)
xfs/xfs_test.go:40
Function
TestResidentBytes
(t *testing.T)
proc_statm_test.go:80
Function
TestRoot
(t *testing.T)
proc_test.go:171
Function
TestSASDeviceClass
(t *testing.T)
sysfs/class_sas_device_test.go:24
Function
TestSASDeviceGetByName
(t *testing.T)
sysfs/class_sas_device_test.go:157
Function
TestSASDeviceGetByPhy
(t *testing.T)
sysfs/class_sas_device_test.go:181
Function
TestSASDeviceGetByPort
(t *testing.T)
sysfs/class_sas_device_test.go:205
Function
TestSASEndDeviceClass
(t *testing.T)
sysfs/class_sas_device_test.go:81
Function
TestSASExpanderClass
(t *testing.T)
sysfs/class_sas_device_test.go:120
Function
TestSASHostClass
(t *testing.T)
sysfs/class_sas_host_test.go:24
Function
TestSASHostGetByName
(t *testing.T)
sysfs/class_sas_host_test.go:54
Function
TestSASHostGetByPhy
(t *testing.T)
sysfs/class_sas_host_test.go:78
← previous
next →
601–700 of 751, ranked by callers