Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/prometheus/procfs
/ functions
Functions
791 in github.com/prometheus/procfs
⨍
Functions
791
◇
Types & classes
274
Method
NetTCP6
NetTCP6 returns the IPv6 kernel/networking statistics for TCP datagrams read from /proc/net/tcp6. Deprecated: Use github.com/mdlayher/netlink#Conn (w
net_tcp.go:38
Method
NetTCP6Summary
NetTCP6Summary returns already computed statistics like the total queue lengths for TCP datagrams read from /proc/net/tcp6. Deprecated: Use github.co
net_tcp.go:54
Method
NetTCPSummary
NetTCPSummary returns already computed statistics like the total queue lengths for TCP datagrams read from /proc/net/tcp. Deprecated: Use github.com/
net_tcp.go:46
Method
NetUDP
NetUDP returns the IPv4 kernel/networking statistics for UDP datagrams read from /proc/net/udp.
net_udp.go:28
Method
NetUDP6
NetUDP6 returns the IPv6 kernel/networking statistics for UDP datagrams read from /proc/net/udp6.
net_udp.go:34
Method
NetUDP6Summary
NetUDP6Summary returns already computed statistics like the total queue lengths for UDP datagrams read from /proc/net/udp6.
net_udp.go:46
Method
NetUDPSummary
NetUDPSummary returns already computed statistics like the total queue lengths for UDP datagrams read from /proc/net/udp.
net_udp.go:40
Function
NewDefaultFS
NewDefaultFS returns a new proc FS mounted under the default proc mountPoint. It will error if the mount point directory can't be read or is a file.
fs.go:38
Function
NewDefaultFS
NewDefaultFS returns a new Bcache using the default sys fs mount point. It will error if the mount point can't be read.
btrfs/get.go:38
Function
NewDefaultFS
NewDefaultFS returns a new Bcache using the default sys fs mount point. It will error if the mount point can't be read.
bcache/get.go:36
Function
NewDefaultFS
NewDefaultFS returns a new Bcachefs using the default sys fs mount point. It will error if the mount point can't be read.
bcachefs/get.go:36
Function
NewDefaultFS
NewDefaultFS returns a new blockdevice fs using the default mountPoints for proc and sys. It will error if either of these mount points can't be read.
blockdevice/stats.go:231
Function
NewDefaultFS
NewDefaultFS returns a new FS mounted under the default mountPoint. It will error if the mount point can't be read.
sysfs/fs.go:33
Function
NewDefaultFS
NewDefaultFS returns a new FS mounted under the default mountPoint. It will error if the mount point can't be read.
nfs/nfs.go:289
Function
NewDefaultFS
NewDefaultFS returns a new FS mounted under the default mountPoint. It will error if the mount point can't be read.
resctrlfs/fs.go:51
Function
NewDefaultFS
NewDefaultFS returns a new XFS handle using the default proc and sys mountPoints. It will error if either of the mounts point can't be read.
xfs/xfs.go:490
Function
NewDefaultFS
NewDefaultFS returns a new FS mounted under the default mountPoint. It will error if the mount point can't be read.
selinuxfs/fs.go:33
Function
NewDefaultFS
NewDefaultFS returns a new blockdevice fs using the default mountPoints for proc and sys. It will error if either of these mount points can't be read.
ext4/ext4.go:49
Method
NewLimits
NewLimits returns the current soft limits of the process. Deprecated: Use p.Limits() instead.
proc_limits.go:84
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:59
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
TestEvalComponentDevicesFlags
(t *testing.T)
mdstat_test.go:372
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:219
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
TestGetPowerMeters
(t *testing.T)
sysfs/class_power_meter_test.go:25
Function
TestGetPowerMeters_NoDevices
(t *testing.T)
sysfs/class_power_meter_test.go:116
← previous
next →
501–600 of 791, ranked by callers