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
NewProc
NewProc returns a process for the given pid under /proc.
proc.go:59
Method
NewProc
NewProc returns a process for the given pid. Deprecated: Use fs.Proc() instead.
proc.go:92
Function
NewStat
NewStat returns information about current cpu/process statistics. See https://www.kernel.org/doc/Documentation/filesystems/proc.txt Deprecated: Use f
stat.go:150
Method
NewStat
NewStat returns the current status information of the process. Deprecated: Use p.Stat() instead.
proc_stat.go:131
Method
NewStat
NewStat returns information about current cpu/process statistics. See: https://www.kernel.org/doc/Documentation/filesystems/proc.txt Deprecated: Use
stat.go:162
Method
NewStatm
NewStatm returns the current status information of the process. Deprecated: Use p.Statm() instead.
proc_statm.go:50
Function
NewTLSStat
NewTLSStat reads the tls_stat statistics.
net_tls_stat.go:54
Function
NewXfrmStat
NewXfrmStat reads the xfrm_stat statistics.
net_xfrm.go:92
Method
Path
Path appends the given path elements to the filesystem path, adding separators as necessary.
internal/fs/fs.go:56
Method
ProcStat
ProcStat returns stats for the filesystem.
ext4/ext4.go:74
Method
Schedstat
Schedstat reads data from `/proc/schedstat`.
schedstat.go:60
Function
Self
Self returns a process for the current process read via /proc/self.
proc.go:50
Method
ServerRPCStats
ServerRPCStats retrieves NFS daemon RPC statistics from proc/net/rpc/nfsd.
nfs/nfs.go:320
Method
StatsWithoutPriority
StatsWithoutPriority is a wrapper around stats(). It ignores priority_stats file, because it is expensive to read.
bcache/get.go:61
Method
String
()
net_unix.go:236
Method
String
()
net_unix.go:245
Method
String
()
sysfs/pci_device.go:57
Method
Swap
(i, j int)
proc_test.go:279
Method
Swap
(i, j int)
proc_fdinfo.go:128
Method
Swap
(i, j int)
proc.go:46
Method
SysBlockDeviceIOStat
SysBlockDeviceIO returns stats for the block device io counters IO done count: /sys/block/<disk>/device/iodone_cnt IO error count: /sys/block/<disk>/d
blockdevice/stats.go:507
Function
TestARP
(t *testing.T)
arp_test.go:21
Function
TestAVCHashStat
(t *testing.T)
selinuxfs/avc_hash_stats_test.go:22
Function
TestAVCStats
(t *testing.T)
selinuxfs/avc_cache_stats_test.go:22
Function
TestAerCounters
(t *testing.T)
sysfs/net_class_aer_test.go:45
Function
TestAerCountersByIface
(t *testing.T)
sysfs/net_class_aer_test.go:24
Function
TestAllProcs
(t *testing.T)
proc_test.go:41
Function
TestAllThreads
(t *testing.T)
thread_test.go:30
Function
TestBadSoftnet
(t *testing.T)
net_softnet_test.go:90
Function
TestBinSearch
(t *testing.T)
sysfs/system_cpu_test.go:253
Function
TestBlockDevice
(t *testing.T)
blockdevice/stats_test.go:69
Function
TestBlockDmInfo
(t *testing.T)
blockdevice/stats_test.go:159
Function
TestBuddyInfo
(t *testing.T)
buddyinfo_test.go:21
Function
TestCPUInfoParseARM
(t *testing.T)
cpuinfo_test.go:377
Function
TestCPUInfoParseARMLegacy
(t *testing.T)
cpuinfo_test.go:345
Function
TestCPUInfoParseARMLegacyV1
(t *testing.T)
cpuinfo_test.go:361
Function
TestCPUInfoParseLoong64
(t *testing.T)
cpuinfo_test.go:469
Function
TestCPUInfoParseMips
(t *testing.T)
cpuinfo_test.go:424
Function
TestCPUInfoParsePPC
(t *testing.T)
cpuinfo_test.go:440
Function
TestCPUInfoParseRISCV64
(t *testing.T)
cpuinfo_test.go:453
Function
TestCPUInfoParseS390X
(t *testing.T)
cpuinfo_test.go:393
Function
TestCPUInfoX86
(t *testing.T)
cpuinfo_test.go:301
Function
TestCPUOnline
(t *testing.T)
sysfs/system_cpu_test.go:67
Function
TestCPUThermalThrottle
(t *testing.T)
sysfs/system_cpu_test.go:95
Function
TestCPUTopology
(t *testing.T)
sysfs/system_cpu_test.go:30
Function
TestCaps
(t *testing.T)
proc_status_test.go:164
Function
TestClassCoolingDeviceStats
(t *testing.T)
sysfs/class_cooling_device_test.go:24
Function
TestClassDRMCard
(t *testing.T)
sysfs/class_drm_card_test.go:24
Function
TestClassDRMCardAMDGPUStats
(t *testing.T)
sysfs/class_drm_amdgpu_test.go:24
Function
TestClassThermalZoneStats
(t *testing.T)
sysfs/class_thermal_test.go:26
Function
TestCmdLine
(t *testing.T)
proc_test.go:54
Function
TestCmdline
(t *testing.T)
cmdline_test.go:24
Function
TestComm
(t *testing.T)
proc_test.go:99
Function
TestCpusAllowedList
(t *testing.T)
proc_status_test.go:128
Function
TestCwd
(t *testing.T)
proc_test.go:143
Function
TestDMIClass
(t *testing.T)
sysfs/class_dmi_test.go:24
Function
TestDMMultipathDevices
(t *testing.T)
blockdevice/dm_multipath_test.go:22
Function
TestDMMultipathDevicesFiltersNonMultipath
(t *testing.T)
blockdevice/dm_multipath_test.go:63
Function
TestDataBytes
(t *testing.T)
proc_statm_test.go:113
Function
TestDehumanizeTests
(t *testing.T)
bcache/get_test.go:67
Function
TestDiskstats
(t *testing.T)
blockdevice/stats_test.go:30
Function
TestEcnByIface
(t *testing.T)
sysfs/net_class_ecn_test.go:24
Function
TestEcnDevices
(t *testing.T)
sysfs/net_class_ecn_test.go:45
Function
TestExecutable
(t *testing.T)
proc_test.go:121
Function
TestFSBcacheStats
(t *testing.T)
bcache/get_test.go:21
Function
TestFSBcachefsStats
(t *testing.T)
bcachefs/get_test.go:45
Function
TestFSBtrfsStats
(t *testing.T)
btrfs/get_test.go:38
Function
TestFSMountInfo
(t *testing.T)
mountinfo_test.go:187
Function
TestFS_CPUVulnerabilities
(t *testing.T)
sysfs/vulnerability_test.go:25
Function
TestFS_Crypto
(t *testing.T)
crypto_test.go:23
Function
TestFS_CryptoCorrupted
(t *testing.T)
crypto_test.go:125
Function
TestFS_MDStat
(t *testing.T)
mdstat_test.go:22
Function
TestFibreChannelClass
(t *testing.T)
sysfs/class_fibrechannel_test.go:24
Function
TestFileDescriptorTargets
(t *testing.T)
proc_test.go:214
Function
TestFileDescriptors
(t *testing.T)
proc_test.go:199
Function
TestFileDescriptorsInfo
(t *testing.T)
proc_test.go:250
Function
TestFileDescriptorsLen
(t *testing.T)
proc_test.go:236
Function
TestFscacheinfo
(t *testing.T)
fscache_test.go:22
Function
TestGetRaplZones
(t *testing.T)
sysfs/class_powercap_test.go:23
Function
TestGetStats
(t *testing.T)
iscsi/get_test.go:24
Function
TestIPVSBackendStatus
(t *testing.T)
ipvs_test.go:219
Function
TestIPVSStats
(t *testing.T)
ipvs_test.go:161
Function
TestInfiniBandClass
(t *testing.T)
sysfs/class_infiniband_test.go:54
Function
TestInotifyWatchLen
(t *testing.T)
proc_fdinfo_test.go:18
Function
TestInvalidMdstat
(t *testing.T)
mdstat_test.go:337
Function
TestIsolatedCPUs
(t *testing.T)
sysfs/system_cpu_test.go:238
Function
TestIsolatedParsingCPU
(t *testing.T)
sysfs/system_cpu_test.go:202
Function
TestKernelHung
(t *testing.T)
kernel_hung_test.go:22
Function
TestKernelRandom
(t *testing.T)
kernel_random_test.go:24
Function
TestLimits
(t *testing.T)
proc_limits_test.go:18
Function
TestLoadAvg
(t *testing.T)
loadavg_test.go:22
Function
TestMEIClass
(t *testing.T)
sysfs/class_mei_test.go:24
Function
TestMdraidStats
(t *testing.T)
sysfs/mdraid_test.go:24
Function
TestMeminfo
(t *testing.T)
meminfo_test.go:22
Function
TestMountInfo
(t *testing.T)
mountinfo_test.go:21
Function
TestMountStats
(t *testing.T)
mountstats_test.go:24
Function
TestMountStatsExtendedOperationStats
(t *testing.T)
mountstats_test.go:512
Function
TestMountStatsExtendedRDMAStats
(t *testing.T)
mountstats_test.go:649
Function
TestNVMeClass
(t *testing.T)
sysfs/class_nvme_test.go:26
Function
TestNVMeMultipleNamespaces
(t *testing.T)
sysfs/class_nvme_test.go:172
← previous
next →
501–600 of 751, ranked by callers