MCPcopy Create free account

hub / github.com/prometheus/procfs / functions

Functions791 in github.com/prometheus/procfs

↓ 1 callersFunctionparsePermissions
parsePermissions parses a token and returns any that are set.
proc_maps.go:113
↓ 1 callersFunctionparsePowerMeter
parsePowerMeter reads every attribute file inside a single power meter sysfs directory and returns a populated PowerMeter.
sysfs/class_power_meter.go:109
↓ 1 callersFunctionparsePowerMeterMeasures
parsePowerMeterMeasures reads the measures/ subdirectory of a power meter and returns the basenames of every symlink target (i.e. the device names thi
sysfs/class_power_meter.go:188
↓ 1 callersFunctionparsePowerSupply
(path string)
sysfs/class_power_supply.go:130
↓ 1 callersFunctionparseProcDiskstats
(r io.Reader)
blockdevice/stats.go:266
↓ 1 callersFunctionparseProcMap
parseProcMap will attempt to parse a single line within a proc/[pid]/maps buffer.
proc_maps.go:139
↓ 1 callersFunctionparseReadAheadCache
(v []uint64)
nfs/parse.go:68
↓ 1 callersFunctionparseReplyCache
(v []uint64)
nfs/parse.go:20
↓ 1 callersMethodparseSASDevice
Parse a single sas_device. This uses /sys/class/sas_device, as it's a superset of the other two directories so there's no reason to plumb the path th
sysfs/class_sas_device.go:94
↓ 1 callersMethodparseSASHost
Parse a single sas_host.
sysfs/class_sas_host.go:72
↓ 1 callersMethodparseSASPhy
Parse a single sas_phy.
sysfs/class_sas_phy.go:77
↓ 1 callersMethodparseSASPort
Parse a single sas_port.
sysfs/class_sas_port.go:75
↓ 1 callersMethodparseSCSITape
Parse a single scsi_tape.
sysfs/class_scsitape.go:79
↓ 1 callersFunctionparseSCSITapeStatistics
parseSCSITapeStatistics parses metrics from a single tape.
sysfs/class_scsitape.go:93
↓ 1 callersFunctionparseSNMP6Stats
parseSnmp6 parses the metrics from proc/<pid>/net/snmp6 file and returns a map contains those metrics.
proc_snmp6.go:161
↓ 1 callersFunctionparseServerRPC
(v []uint64)
nfs/parse.go:93
↓ 1 callersFunctionparseServerV4Stats
(v []uint64)
nfs/parse.go:257
↓ 1 callersFunctionparseSlabInfo21
parseSlabInfo21 is used to parse a slabinfo 2.1 file.
slab.go:123
↓ 1 callersFunctionparseSnmp
parseSnmp parses the metrics from proc/<pid>/net/snmp file and returns a map contains those metrics (e.g. {"Ip": {"Forwarding": 2}}).
proc_snmp.go:149
↓ 1 callersFunctionparseSockstatKVs
parseSockstatKVs parses a string slice into a map of key/value pairs.
net_sockstat.go:119
↓ 1 callersFunctionparseSockstatProtocol
parseSockstatProtocol parses a NetSockstatProtocol from the input kvs map.
net_sockstat.go:139
↓ 1 callersFunctionparseSoftIRQStat
Parse a softirq line.
stat.go:127
↓ 1 callersFunctionparseSoftirqs
(r io.Reader)
softirqs.go:53
↓ 1 callersFunctionparseSoftnet
(r io.Reader)
net_softnet.go:73
↓ 1 callersFunctionparseStat
parseStat parses the metrics from /proc/[pid]/stat.
stat.go:182
↓ 1 callersFunctionparseState
Parse InfiniBand state. Expected format: "<id>: <string-representation>".
sysfs/class_infiniband.go:238
↓ 1 callersMethodparseState
(s string)
net_unix.go:211
↓ 1 callersFunctionparseStatm
parseStatm return /proc/[pid]/statm data to uint64 slice.
proc_statm.go:81
↓ 1 callersFunctionparseSwaps
(info []byte)
swaps.go:44
↓ 1 callersFunctionparseSysBlockDeviceStat
(data []byte)
blockdevice/stats.go:332
↓ 1 callersFunctionparseThreads
(v []uint64)
nfs/parse.go:57
↓ 1 callersMethodparseType
(s string)
net_unix.go:193
↓ 1 callersFunctionparseUint
(s string)
proc_limits.go:152
↓ 1 callersFunctionparseUncorrectableAerCounters
parseUncorrectableAerCounters parses uncorrectable error counters in sys/class/net/<iface>/device/aer_dev_[non]fatal.
sysfs/net_class_aer.go:186
↓ 1 callersMethodparseUsers
(s string)
net_unix.go:189
↓ 1 callersFunctionparseV21SlabEntry
parseV21SlabEntry is used to parse a line from /proc/slabinfo version 2.1.
slab.go:66
↓ 1 callersFunctionparseV4Ops
(v []uint64)
nfs/parse.go:269
↓ 1 callersFunctionparseVMStatNUMA
(r []byte)
sysfs/vmstat_numa.go:122
↓ 1 callersFunctionparseVulnerability
(name, rawContent string)
sysfs/vulnerability.go:83
↓ 1 callersMethodparseWatchdog
(wdName string)
sysfs/class_watchdog.go:73
↓ 1 callersFunctionparseWireless
parseWireless parses the contents of /proc/net/wireless. * Inter-| sta-| Quality | Discarded packets | Missed | WE face | tus
net_wireless.go:84
↓ 1 callersFunctionparseZoneinfo
(zoneinfoData []byte)
zoneinfo.go:86
↓ 1 callersFunctionpushAilStats
pushAilStats handles push_ail stats.
xfs/parse.go:303
↓ 1 callersFunctionquotaManagerStats
(us []uint32)
xfs/parse.go:435
↓ 1 callersMethodreadAllocationStats
readAllocationStats reads Btrfs allocation data for the current path.
btrfs/get.go:136
↓ 1 callersMethodreadCommitStats
readCommitStats returns the commit_stats information for commit stats metrics.
btrfs/get.go:258
↓ 1 callersFunctionreadConntrackStat
Parses a slice of ConntrackStatEntries from the given filepath.
net_conntrackstat.go:50
↓ 1 callersFunctionreadCounter
readCounter reads a single counter file of a monitoring domain. It returns nil if the file does not exist, can not be read, or does not hold a number.
resctrlfs/mon_data.go:86
↓ 1 callersFunctionreadDRMCardField
(card, field string)
sysfs/class_drm.go:24
↓ 1 callersFunctionreadDevInfo
readDev reads the device name and type from the "device" symlink in the given directory.
sysfs/class_drm_amdgpu.go:55
↓ 1 callersMethodreadDeviceInfo
readDeviceInfo returns the information for all devices associated with this filesystem.
btrfs/get.go:211
↓ 1 callersMethodreadFile
readFile reads a file relative to the path of the reader. Non-existing files are ignored.
bcachefs/get.go:95
↓ 1 callersMethodreadFilesystemStats
readFilesystemStats reads Btrfs statistics for a filesystem.
btrfs/get.go:224
↓ 1 callersMethodreadFilesystemStats
()
bcachefs/get.go:122
↓ 1 callersMethodreadHumanBytes
(n string)
bcachefs/get.go:109
↓ 1 callersMethodreadLayout
readLayout reads the Btrfs layout statistics for an allocation layout.
btrfs/get.go:181
↓ 1 callersMethodreadLayouts
readLayouts reads all Btrfs layout statistics for the current path.
btrfs/get.go:163
↓ 1 callersFunctionreadNetRoute
(path string)
net_route.go:52
↓ 1 callersFunctionreadSysfsFile
(path string)
bcachefs/get.go:469
↓ 1 callersFunctionreadUintFile
(path string)
bcachefs/get.go:477
↓ 1 callersMethodreadValue
readValues reads a number of numerical values into an uint64 slice. Non-existing files are ignored.
bcache/get.go:201
↓ 1 callersFunctionreadWriteStats
readWriteStats handles rw stats.
xfs/parse.go:335
↓ 1 callersFunctionsetFSCacheFields
(fields []string, setFields ...*uint64)
fscache.go:245
↓ 1 callersMethodsetSubDir
(pathElements ...string)
bcache/get.go:194
↓ 1 callersFunctionshouldParseSlab
(line string)
slab.go:55
↓ 1 callersFunctionsysctlToPath
(sysctl string)
proc_sys.go:23
↓ 1 callersFunctiontransactionStats
TransactionStats builds a TransactionStats from a slice of uint32s.
xfs/parse.go:258
↓ 1 callersFunctionuint64Ptr
(v uint64)
resctrlfs/mon_data_test.go:24
↓ 1 callersFunctionvnodeStats
VnodeStats builds a VnodeStats from a slice of uint32s.
xfs/parse.go:374
↓ 1 callersFunctionxStratStats
xStratStats handles xstrat stats.
xfs/parse.go:323
↓ 1 callersFunctionzonedStats
zonedStats handles zoned stats.
xfs/parse.go:773
FunctionAllProcs
AllProcs returns a list of all currently available processes under /proc.
proc.go:68
FunctionAllThreads
Provide access to /proc/PID/task/TID files, for thread specific values. Since such files have the same structure as /proc/PID/ ones, the data structur
thread.go:29
FunctionBenchmarkParseAddress
(b *testing.B)
proc_maps64_test.go:139
FunctionBenchmarkParseDevice
(b *testing.B)
proc_maps64_test.go:158
FunctionBenchmarkProcSMapsRollup
(b *testing.B)
proc_smaps_test.go:22
MethodCgroupSummarys
CgroupSummarys returns information about current /proc/cgroups.
proc_cgroups.go:92
MethodCgroups
Cgroups reads from /proc/<pid>/cgroups and returns a []*Cgroup struct locating this PID in each process control hierarchy running on this system. On e
proc_cgroup.go:92
MethodClientRPCStats
ClientRPCStats retrieves NFS client RPC statistics from proc/net/rpc/nfs.
nfs/nfs.go:308
MethodConntrackStat
ConntrackStat retrieves netfilter's conntrack statistics, split by CPU cores.
net_conntrackstat.go:45
MethodGetByName
GetByName returns the SASHost with the provided name.
sysfs/class_sas_host.go:96
MethodGetByName
GetByName returns the SASPort with the provided name.
sysfs/class_sas_port.go:101
MethodGetByName
GetByName returns the SASDevice with the provided name.
sysfs/class_sas_device.go:181
MethodGetByPhy
GetByPhy finds the SASPort that contains the provided PHY name.
sysfs/class_sas_port.go:106
MethodGetByPhy
GetByPhy finds the SASDevice that contains the provided PHY name.
sysfs/class_sas_device.go:186
MethodGetByPort
GetByPort finds the SASDevice that contains the provided SAS Port name.
sysfs/class_sas_device.go:196
FunctionGetMounts
GetMounts retrieves mountinfo information from `/proc/self/mountinfo`.
mountinfo.go:174
FunctionGetProcMounts
GetProcMounts retrieves mountinfo information from a processes' `/proc/<pid>/mountinfo`.
mountinfo.go:183
MethodLen
()
proc_test.go:278
MethodLen
()
proc_fdinfo.go:127
MethodLen
()
proc.go:45
MethodLess
(i, j int)
proc_test.go:280
MethodLess
(i, j int)
proc_fdinfo.go:129
MethodLess
(i, j int)
proc.go:47
MethodMountInfo
MountInfo retrieves mount information for mount points in a process's namespace. It supplies information missing in `/proc/self/mounts` and fixes vari
proc.go:283
MethodNFNetLinkQueue
NFNetLinkQueue returns information about current state of netfilter queues.
nfnetlink_queue.go:50
MethodNetDev
NetDev returns kernel/system statistics read from /proc/[pid]/net/dev.
net_dev.go:56
MethodNetDevSNMP6
Returns kernel/system statistics read from interface files within the /proc/<PID>/net/dev_snmp6/ directory.
net_dev_snmp6.go:40
MethodNetRoute
()
net_route.go:48
MethodNetTCP
NetTCP returns the IPv4 kernel/networking statistics for TCP datagrams read from /proc/net/tcp. Deprecated: Use github.com/mdlayher/netlink#Conn (wit
net_tcp.go:30
← previousnext →401–500 of 791, ranked by callers