MCPcopy Create free account

hub / github.com/prometheus/procfs / functions

Functions751 in github.com/prometheus/procfs

↓ 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 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 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 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 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 callersFunctionreadWriteStats
readWriteStats handles rw stats.
xfs/parse.go:335
↓ 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 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
MethodNetTCP6
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
MethodNetTCP6Summary
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
MethodNetTCPSummary
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
MethodNetUDP
NetUDP returns the IPv4 kernel/networking statistics for UDP datagrams read from /proc/net/udp.
net_udp.go:28
MethodNetUDP6
NetUDP6 returns the IPv6 kernel/networking statistics for UDP datagrams read from /proc/net/udp6.
net_udp.go:34
MethodNetUDP6Summary
NetUDP6Summary returns already computed statistics like the total queue lengths for UDP datagrams read from /proc/net/udp6.
net_udp.go:46
MethodNetUDPSummary
NetUDPSummary returns already computed statistics like the total queue lengths for UDP datagrams read from /proc/net/udp.
net_udp.go:40
FunctionNewDefaultFS
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
FunctionNewDefaultFS
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
FunctionNewDefaultFS
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
FunctionNewDefaultFS
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
FunctionNewDefaultFS
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
FunctionNewDefaultFS
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
FunctionNewDefaultFS
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
FunctionNewDefaultFS
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
FunctionNewDefaultFS
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
FunctionNewDefaultFS
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
MethodNewLimits
NewLimits returns the current soft limits of the process. Deprecated: Use p.Limits() instead.
proc_limits.go:84
← previousnext →401–500 of 751, ranked by callers