MCPcopy Create free account

hub / github.com/prometheus/procfs / functions

Functions751 in github.com/prometheus/procfs

↓ 1 callersMethodGetProcMounts
GetProcMounts retrieves mountinfo information from a processes' `/proc/<pid>/mountinfo`.
mountinfo.go:201
↓ 1 callersMethodGetRBDMatch
GetRBDMatch is getting the actual info to build up the RBD data and match with the enable target.
iscsi/get.go:179
↓ 1 callersMethodGetRDMCPPath
GetRDMCPPath is getting the actual info to build up RDMCP data.
iscsi/get.go:222
↓ 1 callersFunctionGetStats
GetStats collects all Btrfs statistics from sysfs.
btrfs/get.go:81
↓ 1 callersFunctionGetStats
GetStats collects from sysfs files data tied to one bcache ID.
bcache/get.go:376
↓ 1 callersFunctionGetStats
GetStats collects all Bcachefs statistics from sysfs.
bcachefs/get.go:79
↓ 1 callersFunctionGetStats
GetStats is the main iscsi status information func for building the path and prepare info for enable iscsi.
iscsi/get.go:30
↓ 1 callersMethodIO
IO creates a new ProcIO instance from a given Proc instance.
proc_io.go:43
↓ 1 callersMethodIPVSBackendStatus
IPVSBackendStatus reads and returns the status of all (virtual,real) server pairs from the specified `proc` filesystem.
ipvs.go:126
↓ 1 callersMethodIPVSStats
IPVSStats reads the IPVS statistics from the specified `proc` filesystem.
ipvs.go:68
↓ 1 callersMethodISCSIStats
ISCSIStats getting iscsi runtime information.
iscsi/iscsi.go:72
↓ 1 callersMethodInfiniBandClass
InfiniBandClass returns info for all InfiniBand devices read from sys/class/infiniband.
sysfs/class_infiniband.go:141
↓ 1 callersMethodInotifyWatchLen
InotifyWatchLen returns the total number of inotify watches.
proc_fdinfo.go:132
↓ 1 callersMethodInterrupts
Interrupts creates a new instance from a given Proc instance.
proc_interrupts.go:44
↓ 1 callersMethodIsolatedCPUs
()
sysfs/system_cpu.go:403
↓ 1 callersMethodKernelHung
KernelHung returns values from /proc/sys/kernel/hung_task_detect_count.
kernel_hung.go:32
↓ 1 callersMethodKernelRandom
KernelRandom returns values from /proc/sys/kernel/random.
kernel_random.go:41
↓ 1 callersMethodLoadAvg
LoadAvg returns loadavg from /proc.
loadavg.go:32
↓ 1 callersMethodMDStat
MDStat parses an mdstat-file (/proc/mdstat) and returns a slice of structs containing the relevant info. More information available here: https://rai
mdstat.go:89
↓ 1 callersMethodMEIClass
MEIClass returns Management Engine Interface (MEI) information read from /sys/class/mei/.
sysfs/class_mei.go:43
↓ 1 callersMethodMdraids
Mdraids gathers information and statistics about mdraid devices present. Based on upstream kernel documentation https://docs.kernel.org/admin-guide/md
sysfs/mdraid.go:54
↓ 1 callersMethodMeminfo
Meminfo returns an information about current kernel/system memory statistics. See https://www.kernel.org/doc/Documentation/filesystems/proc.txt
meminfo.go:212
↓ 1 callersMethodMountStats
MountStats retrieves statistics and configuration for mount points in a process's namespace.
proc.go:269
↓ 1 callersMethodNamespaces
Namespaces reads from /proc/<pid>/ns/* to get the namespaces of which the process is a member.
proc_ns.go:34
↓ 1 callersMethodNetClass
NetClass returns info for all net interfaces (iface) read from /sys/class/net/<iface>.
sysfs/net_class.go:100
↓ 1 callersMethodNetProtocols
NetProtocols reads stats from /proc/net/protocols and returns a map of PortocolStatLine entries. As of this writing no official Linux Documentation ex
net_protocols.go:73
↓ 1 callersMethodNetSockstat
NetSockstat retrieves IPv4 socket statistics.
net_sockstat.go:48
↓ 1 callersMethodNetSockstat6
NetSockstat6 retrieves IPv6 socket statistics. If IPv6 is disabled on this kernel, the returned error can be checked with os.IsNotExist.
net_sockstat.go:56
↓ 1 callersMethodNetStat
NetStat retrieves stats from `/proc/net/stat/`.
netstat.go:31
↓ 1 callersMethodNetUNIX
NetUNIX returns data read from /proc/net/unix.
net_unix.go:72
↓ 1 callersMethodNetstat
()
proc_netstat.go:172
↓ 1 callersFunctionNewFS
NewFS returns a new FS mounted under the given mountPoint. It will error if the mount point can't be read.
nfs/nfs.go:295
↓ 1 callersFunctionNewFS
NewFS returns a new configfs mounted under the given mount point. It will error and return empty FS if the mount point can't be read. For the ease of
iscsi/iscsi.go:48
↓ 1 callersFunctionNewFS
NewFS returns a new XFS handle using the given proc and sys mountPoints. It will error if either of the mounts point can't be read.
xfs/xfs.go:496
↓ 1 callersFunctionNewFS
NewFS returns a new XFS handle using the given proc and sys mountPoints. It will error if either of the mounts point can't be read.
ext4/ext4.go:55
↓ 1 callersMethodNumber
Number returns the ID number of the given CPU.
sysfs/system_cpu.go:34
↓ 1 callersMethodParseAVCHashStats
ParseAVCHashStats returns the SELinux access vector cache hashtable statistics, or error on failure.
selinuxfs/avc_hash_stats.go:40
↓ 1 callersMethodParseAVCStats
ParseAVCStats returns the total SELinux access vector cache statistics, or error on failure.
selinuxfs/avc_cache_stats.go:44
↓ 1 callersFunctionParseHexUint64s
Parses a uint64 from given hex in string.
internal/util/parse.go:69
↓ 1 callersFunctionParseNetClassAttribute
ParseNetClassAttribute parses a given file in /sys/class/net/<iface> and sets the value in a given NetClassIface object if the value was readable. It
sysfs/net_class.go:146
↓ 1 callersFunctionParsePInt64s
ParsePInt64s parses a slice of strings into a slice of int64 pointers.
internal/util/parse.go:54
↓ 1 callersFunctionParseRoceNpEcnAttribute
Parses all of the attributes in for ROCE NP protocol.
sysfs/net_class_ecn.go:222
↓ 1 callersFunctionParseRoceNpEcnInfo
ParseEcnIfaceInfo scans predefined files in /sys/class/net/<iface>/ecn/roce_np/ directory and gets their contents.
sysfs/net_class_ecn.go:198
↓ 1 callersFunctionParseRoceRpEcnAttribute
Parses all of the attributes in for ROCE RP protocol.
sysfs/net_class_ecn.go:273
↓ 1 callersFunctionParseRoceRpEcnInfo
ParseRoceRpEcnInfo scans predefined files in /sys/class/net/<iface>/ecn/roce_rp/ directory and gets their contents.
sysfs/net_class_ecn.go:249
↓ 1 callersFunctionParseUint32s
ParseUint32s parses a slice of strings into a slice of uint32s.
internal/util/parse.go:24
↓ 1 callersMethodPciDevices
PciDevices returns info for all PCI devices read from sys/bus/pci/devices .
sysfs/pci_device.go:114
↓ 1 callersMethodPowerSupplyClass
PowerSupplyClass returns info for all power supplies read from sys/class/power_supply.
sysfs/class_power_supply.go:108
↓ 1 callersMethodProcDiskstats
ProcDiskstats reads the diskstats file and returns an array of Diskstats (one per line/device).
blockdevice/stats.go:257
↓ 1 callersFunctionReadHexFromFile
ReadHexFromFile reads a file and attempts to parse a uint64 from a hexadecimal format 0xXX.
internal/util/parse.go:116
↓ 1 callersFunctionReadIntFromFile
ReadIntFromFile reads a file and attempts to parse a int64 from it.
internal/util/parse.go:93
↓ 1 callersFunctionReadWriteOPS
ReadWriteOPS read and return the stat of read and write in megabytes, and total commands that send to the target.
iscsi/get.go:106
↓ 1 callersMethodResidentBytes
ResidentBytes returns the process of resident set size in bytes.
proc_statm.go:100
↓ 1 callersMethodResidentMemory
ResidentMemory returns the resident memory size in bytes.
proc_stat.go:219
↓ 1 callersMethodRootDir
RootDir returns the absolute path to the process's root directory (as set by chroot).
proc.go:195
↓ 1 callersMethodSASEndDeviceClass
SASEndDeviceClass parses devices in /sys/class/sas_end_device. This is a subset of sas_device, and excludes expanders.
sysfs/class_sas_device.go:81
↓ 1 callersMethodSASExpanderClass
SASExpanderClass parses devices in /sys/class/sas_expander. This is a subset of sas_device, but only includes expanders.
sysfs/class_sas_device.go:87
↓ 1 callersMethodSCSITapeClass
SCSITapeClass parses st[0-9]+ devices in /sys/class/scsi_tape.
sysfs/class_scsitape.go:50
↓ 1 callersMethodSHRBytes
SHRBytes returns the process of share memory size in bytes.
proc_statm.go:105
↓ 1 callersMethodSizeBytes
SizeBytes returns the process of total program size in bytes.
proc_statm.go:95
↓ 1 callersMethodSlabInfo
SlabInfo reads data from `/proc/slabinfo`.
slab.go:141
↓ 1 callersMethodSnmp
()
proc_snmp.go:136
↓ 1 callersMethodSnmp6
()
proc_snmp6.go:141
↓ 1 callersMethodSoftirqs
()
softirqs.go:41
↓ 1 callersMethodStartTime
StartTime returns the unix timestamp of the process in seconds.
proc_stat.go:224
↓ 1 callersMethodStats
Stats retrieves Btrfs filesystem runtime statistics for each mounted Btrfs filesystem.
btrfs/get.go:56
↓ 1 callersMethodStats
Stats is a wrapper around stats(). It returns full available statistics.
bcache/get.go:55
↓ 1 callersMethodStats
Stats retrieves Bcachefs filesystem runtime statistics for each mounted Bcachefs filesystem.
bcachefs/get.go:54
↓ 1 callersMethodString
String returns the string representation of the power state.
sysfs/pci_device.go:42
↓ 1 callersMethodSwaps
Swaps returns a slice of all configured swap devices on the system.
swaps.go:36
↓ 1 callersMethodSysBlockDeviceQueueStats
SysBlockDeviceQueueStats returns stats for /sys/block/xxx/queue where xxx is a device name.
blockdevice/stats.go:361
↓ 1 callersMethodSysBlockDeviceSize
SysBlockDeviceSize returns the size of the block device from /sys/block/<device>/size in bytes by multiplying the value by the Linux sector length of
blockdevice/stats.go:487
↓ 1 callersMethodSysBlockDeviceUnderlyingDevices
(device string)
blockdevice/stats.go:472
↓ 1 callersFunctionSysReadIntFromFile
SysReadIntFromFile reads a file using SysReadFile and attempts to parse a int64 from it.
internal/util/sysreadfile.go:62
↓ 1 callersFunctionSysReadUintFromFile
SysReadUintFromFile reads a file using SysReadFile and attempts to parse a uint64 from it.
internal/util/sysreadfile.go:53
↓ 1 callersMethodSysStats
SysStats retrieves XFS filesystem runtime statistics for each mounted XFS filesystem. Only available on kernel 4.4+. On older kernels, an empty slic
xfs/xfs.go:529
↓ 1 callersMethodSystemCpufreq
SystemCpufreq returns CPU frequency metrics for all CPUs.
sysfs/system_cpu.go:205
↓ 1 callersMethodTextBytes
TextBytes returns the process of text (code) size in bytes.
proc_statm.go:110
↓ 1 callersMethodTotalCtxtSwitches
TotalCtxtSwitches returns the total context switch.
proc_status.go:242
↓ 1 callersMethodVM
VM reads the VM statistics from the specified `proc` filesystem.
vm.go:81
↓ 1 callersMethodVMStatNUMA
()
sysfs/vmstat_numa.go:93
↓ 1 callersMethodVirtualMemory
VirtualMemory returns the virtual memory size in bytes.
proc_stat.go:214
↓ 1 callersMethodWatchdogClass
WatchdogClass returns info for all watchdog devices read from /sys/class/watchdog.
sysfs/class_watchdog.go:52
↓ 1 callersMethodWchan
Wchan returns the wchan (wait channel) of a process.
proc.go:144
↓ 1 callersMethodWireless
Wireless returns kernel wireless statistics.
net_wireless.go:63
↓ 1 callersMethodZoneinfo
Zoneinfo parses an zoneinfo-file (/proc/zoneinfo) and returns a slice of structs containing the relevant info. More information available here: https
zoneinfo.go:74
↓ 1 callersMethodaddValue
(k string, vUintBytes uint64)
proc_smaps.go:140
↓ 1 callersFunctionattributeOperationStats
AttributeOperationStats builds an AttributeOperationStats from a slice of uint32s.
xfs/parse.go:347
↓ 1 callersFunctionblockMappingStats
BlockMappingStat builds a BlockMappingStats from a slice of uint32s.
xfs/parse.go:227
↓ 1 callersMethodblockSASDeviceBlockDevices
Identify block devices that map to a specific SAS Device This info comes from (for example) sys/class/sas_device/end_device-11:2/device/target11:0:0/1
sysfs/class_sas_device.go:136
↓ 1 callersFunctionbtreeAllocBlocks2Stats
btreeAllocBlocks2Stats handles abtb2 stats.
xfs/parse.go:473
↓ 1 callersFunctionbtreeAllocContig2Stats
btreeAllocContig2Stats handles abtc2 stats.
xfs/parse.go:498
↓ 1 callersFunctionbtreeBlockMap2Stats
btreeBlockMap2Stats handles bmbt2 stats.
xfs/parse.go:523
↓ 1 callersFunctionbtreeFreeInode2Stats
btreeFreeInode2Stats handles fibt2 stats.
xfs/parse.go:573
↓ 1 callersFunctionbtreeInode2Stats
btreeInode2Stats handles ibt2 stats.
xfs/parse.go:548
↓ 1 callersFunctionbtreeRcbagStats
btreeRcbagStats handles rcbagbt stats.
xfs/parse.go:673
↓ 1 callersFunctionbtreeRefCountStats
btreeRefCountStats handles refcntbt stats.
xfs/parse.go:623
↓ 1 callersFunctionbtreeReverseMapMemStats
btreeReverseMapMemStats handles rmapbt_mem stats.
xfs/parse.go:648
↓ 1 callersFunctionbtreeReverseMapStats
btreeReverseMapStats handles rmapbt stats.
xfs/parse.go:598
↓ 1 callersFunctionbtreeRtRefCountStats
btreeRtRefCountStats handles rtrefcntbt stats.
xfs/parse.go:748
← previousnext →201–300 of 751, ranked by callers