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
↓ 1 callers
Function
btreeRtReverseMapMemStats
btreeRtReverseMapMemStats handles rtrmapbt_mem stats.
xfs/parse.go:723
↓ 1 callers
Function
btreeRtReverseMapStats
btreeRtReverseMapStats handles rtrmapbt stats.
xfs/parse.go:698
↓ 1 callers
Function
bufferStats
BufferStats builds a BufferStats from a slice of uint32s.
xfs/parse.go:404
↓ 1 callers
Function
calcCpusAllowedList
(cpuString string)
proc_status.go:246
↓ 1 callers
Function
calcNSPidsList
(nspidsString string)
proc_status.go:271
↓ 1 callers
Method
calcRatio
calcRatio returns the calculated ratio for a layout mode.
btrfs/get.go:191
↓ 1 callers
Function
debugStats
(us []uint32)
xfs/parse.go:462
↓ 1 callers
Function
deferRelogStats
deferRelogStats handles defer_relog stats.
xfs/parse.go:797
↓ 1 callers
Function
directoryOperationStats
DirectoryOperationStats builds a DirectoryOperationStats from a slice of uint32s.
xfs/parse.go:244
↓ 1 callers
Method
dmMultipathPaths
dmMultipathPaths reads the slaves/ directory of a dm device and returns the path devices with their states.
blockdevice/dm_multipath.go:118
↓ 1 callers
Function
evalComponentDevices
(deviceFields []string)
mdstat.go:328
↓ 1 callers
Function
evalRecoveryLine
(recoveryLine string)
mdstat.go:278
↓ 1 callers
Function
evalStatusLine
(deviceLine, statusLine string)
mdstat.go:236
↓ 1 callers
Function
extendedPrecisionStats
ExtendedPrecisionStats builds an ExtendedPrecisionStats from a slice of uint32s.
xfs/parse.go:423
↓ 1 callers
Function
extentAllocationStats
extentAllocationStats builds an ExtentAllocationStats from a slice of uint32s.
xfs/parse.go:199
↓ 1 callers
Method
fillStatus
(k string, vString string, vUint uint64, vUintBytes uint64)
proc_status.go:138
↓ 1 callers
Function
filterOfflineCPUs
(offlineCpus *[]uint16, cpus *[]string)
sysfs/system_cpu.go:188
↓ 1 callers
Function
gcXpcStats
gcXpcStats handles gc xpc stats.
xfs/parse.go:808
↓ 1 callers
Function
getIndexAndName
getIndexAndName returns a pair of (index, name) for a given name and name counting map. Some RAPL-names have an index at the end, some have duplicates
sysfs/class_powercap.go:101
↓ 1 callers
Function
getLunLinkTarget
(lunPath string)
iscsi/get.go:73
↓ 1 callers
Method
getPriorityStats
()
bcache/get.go:315
↓ 1 callers
Method
getWritebackRateDebug
()
bcache/get.go:346
↓ 1 callers
Function
inodeClusteringStats
InodeClusteringStats builds an InodeClusteringStats from a slice of uint32s.
xfs/parse.go:361
↓ 1 callers
Function
inodeOperationStats
InodeOperationStats builds an InodeOperationStats from a slice of uint32s.
xfs/parse.go:271
↓ 1 callers
Function
isRealProc
isRealProc determines whether supplied mountpoint is really a proc filesystem.
fs_statfs_type.go:23
↓ 1 callers
Function
logOperationStats
LogOperationStats builds a LogOperationStats from a slice of uint32s.
xfs/parse.go:288
↓ 1 callers
Function
matchPoolImage
(pool string, image string, matchPoolImage string)
iscsi/get.go:242
↓ 1 callers
Function
metaFileStats
metaFileStats handles metafile stats.
xfs/parse.go:786
↓ 1 callers
Function
mountOptionsIsValidField
mountOptionsIsValidField checks a string against a valid list of optional fields keys.
mountinfo.go:119
↓ 1 callers
Function
mountOptionsParseOptionalFields
mountOptionsParseOptionalFields parses a list of optional fields strings into a double map of strings.
mountinfo.go:132
↓ 1 callers
Function
parseARPEntries
(data []byte)
arp.go:64
↓ 1 callers
Function
parseARPEntry
(columns []string)
arp.go:94
↓ 1 callers
Function
parseBtreeWriteStats
(path string)
bcachefs/get.go:369
↓ 1 callers
Function
parseCPUInfoLoong
(info []byte)
cpuinfo.go:383
↓ 1 callers
Function
parseCPUInfoMips
(info []byte)
cpuinfo.go:340
↓ 1 callers
Function
parseCPUInfoPPC
(info []byte)
cpuinfo.go:419
↓ 1 callers
Function
parseCPUInfoRISCV
(info []byte)
cpuinfo.go:464
↓ 1 callers
Function
parseCPUInfoS390X
(info []byte)
cpuinfo.go:256
↓ 1 callers
Function
parseCPUStat
Parse a cpu statistics line and returns the CPUStat struct plus the cpu id (or -1 for the overall sum).
stat.go:86
↓ 1 callers
Function
parseCPUThermalThrottle
(cpuPath string)
sysfs/system_cpu.go:145
↓ 1 callers
Function
parseCPUTopology
(cpuPath string)
sysfs/system_cpu.go:100
↓ 1 callers
Function
parseCgroupSummary
parseCgroupSummary reads each line of the /proc/cgroup file.
proc_cgroups.go:71
↓ 1 callers
Function
parseCgroups
parseCgroups reads each line of the /proc/[pid]/cgroup file.
proc_cgroup.go:73
↓ 1 callers
Function
parseClassDRMAMDGPUCard
(card string)
sysfs/class_drm_amdgpu.go:91
↓ 1 callers
Function
parseClassThermalZone
(zone string)
sysfs/class_thermal.go:59
↓ 1 callers
Function
parseClientRPC
(v []uint64)
nfs/parse.go:107
↓ 1 callers
Function
parseClientV4Stats
(v []uint64)
nfs/parse.go:179
↓ 1 callers
Function
parseClocksource
(clocksourcePath string)
sysfs/clocksource.go:56
↓ 1 callers
Function
parseCompressionStats
(path string)
bcachefs/get.go:211
↓ 1 callers
Function
parseConntrackStatEntry
Parses a ConntrackStatEntry from given array of fields.
net_conntrackstat.go:86
↓ 1 callers
Function
parseCoolingDeviceStats
(cd string)
sysfs/class_cooling_device.go:61
↓ 1 callers
Function
parseCorrectableAerCounters
parseCorrectableAerCounters parses correctable error counters in sys/class/net/<iface>/device/aer_dev_correctable.
sysfs/net_class_aer.go:135
↓ 1 callers
Function
parseCounters
(countersPath string)
bcachefs/get.go:302
↓ 1 callers
Function
parseCpufreqCpuinfo
(cpuPath string)
sysfs/system_cpu.go:270
↓ 1 callers
Function
parseCrypto
parseCrypto parses a /proc/crypto stream into Crypto elements.
crypto.go:73
↓ 1 callers
Method
parseDRMCard
Parse one DRMCard.
sysfs/class_drm_card.go:75
↓ 1 callers
Function
parseDRMCardPort
(port string)
sysfs/class_drm_card.go:105
↓ 1 callers
Function
parseDeviceIODone
(path string)
bcachefs/get.go:488
↓ 1 callers
Function
parseDeviceIOErrors
(path string)
bcachefs/get.go:536
↓ 1 callers
Function
parseDevices
(fsPath string)
bcachefs/get.go:410
↓ 1 callers
Function
parseErrors
(path string)
bcachefs/get.go:264
↓ 1 callers
Method
parseFibreChannelHost
Parse a single FC host.
sysfs/class_fibrechannel.go:87
↓ 1 callers
Function
parseFibreChannelStatistics
parseFibreChannelStatistics parses metrics from a single FC host.
sysfs/class_fibrechannel.go:151
↓ 1 callers
Function
parseFileHandles
(v []uint64)
nfs/parse.go:32
↓ 1 callers
Method
parseFlags
(s string)
net_unix.go:202
↓ 1 callers
Function
parseFscacheinfo
(r io.Reader)
fscache.go:260
↓ 1 callers
Function
parseIPVSBackendStatus
(file io.Reader)
ipvs.go:136
↓ 1 callers
Function
parseIPVSStats
parseIPVSStats performs the actual parsing of `ip_vs_stats`.
ipvs.go:78
↓ 1 callers
Function
parseInfiniBandCounters
parseInfiniBandCounters parses the counters exposed under sys/class/infiniband/<device>/ports/<port-num>/counters, which first appeared in kernel v2.6
sysfs/class_infiniband.go:319
↓ 1 callers
Method
parseInfiniBandDevice
Parse one InfiniBand device. Refer to https://www.kernel.org/doc/Documentation/ABI/stable/sysfs-class-infiniband
sysfs/class_infiniband.go:164
↓ 1 callers
Function
parseInfiniBandHwCounters
parseInfiniBandHwCounters parses the optional counters exposed under sys/class/infiniband/<device>/ports/<port-num>/hw_counters, which first appeared
sysfs/class_infiniband.go:482
↓ 1 callers
Method
parseInfiniBandPort
parseInfiniBandPort scans predefined files in /sys/class/infiniband/<device>/ports/<port> directory and gets their contents.
sysfs/class_infiniband.go:247
↓ 1 callers
Method
parseInode
(s string)
net_unix.go:220
↓ 1 callers
Function
parseInotifyInfo
InotifyInfo constructor. Only available on kernel 3.8+.
proc_fdinfo.go:106
↓ 1 callers
Function
parseInputOutput
(v []uint64)
nfs/parse.go:46
↓ 1 callers
Function
parseInterrupts
(r io.Reader)
proc_interrupts.go:52
↓ 1 callers
Method
parseKV
parseKV parses a key/value pair into the appropriate field of c.
crypto.go:114
↓ 1 callers
Method
parseLine
(line string, hasInode bool, minFields int)
net_unix.go:124
↓ 1 callers
Method
parseMEI
(meiDev string)
sysfs/class_mei.go:64
↓ 1 callers
Function
parseMemInfo
(r io.Reader)
meminfo.go:226
↓ 1 callers
Function
parseMount
parseMount parses an entry in /proc/[pid]/mountstats in the format: device [device] mounted on [mount] with fstype [type]
mountstats.go:324
↓ 1 callers
Function
parseMountStatsNFS
parseMountStatsNFS parses a MountStatsNFS by scanning additional information related to NFS statistics.
mountstats.go:357
↓ 1 callers
Function
parseNFSBytesStats
parseNFSBytesStats parses a NFSBytesStats line using an input set of integer fields.
mountstats.go:464
↓ 1 callers
Function
parseNFSEventsStats
parseNFSEventsStats parses a NFSEventsStats line using an input set of integer fields.
mountstats.go:493
↓ 1 callers
Function
parseNFSOperationStats
parseNFSOperationStats parses a slice of NFSOperationStats by scanning additional information about per-operation statistics until an empty line is re
mountstats.go:542
↓ 1 callers
Function
parseNFSTransportStats
parseNFSTransportStats parses a NFSTransportStats line using an input set of integer fields matched to a specific stats version.
mountstats.go:596
↓ 1 callers
Method
parseNVMeDevice
Parse one NVMe device.
sysfs/class_nvme.go:83
↓ 1 callers
Method
parseNVMeSubsystem
(name string)
sysfs/class_nvme_subsystem.go:95
↓ 1 callers
Method
parseNVMeSubsystemController
(subsysName, ctrlName string)
sysfs/class_nvme_subsystem.go:139
↓ 1 callers
Function
parseNetDevSNMP6Stats
(r io.Reader)
net_dev_snmp6.go:77
↓ 1 callers
Function
parseNetProtocols
(s *bufio.Scanner)
net_protocols.go:81
↓ 1 callers
Function
parseNetRouteLine
(fields []string)
net_route.go:81
↓ 1 callers
Function
parseNetUNIX
parseNetUNIX creates a NetUnix structure from the incoming stream.
net_unix.go:90
↓ 1 callers
Function
parseNetstat
parseNetstat parses the metrics from `/proc/net/stat/` file and returns a NetStat structure.
netstat.go:53
↓ 1 callers
Method
parsePciDevice
Parse one PCI device Refer to https://docs.kernel.org/PCI/sysfs-pci.html
sysfs/pci_device.go:172
↓ 1 callers
Function
parsePermissions
parsePermissions parses a token and returns any that are set.
proc_maps.go:113
↓ 1 callers
Function
parsePowerSupply
(path string)
sysfs/class_power_supply.go:130
↓ 1 callers
Function
parseProcDiskstats
(r io.Reader)
blockdevice/stats.go:266
↓ 1 callers
Function
parseProcMap
parseProcMap will attempt to parse a single line within a proc/[pid]/maps buffer.
proc_maps.go:139
↓ 1 callers
Function
parseProcNetstat
parseProcNetstat parses the metrics from proc/<pid>/net/netstat file and returns a ProcNetstat structure.
proc_netstat.go:185
← previous
next →
301–400 of 751, ranked by callers