Overview
-
module Process-
module Metrics-
class GeneralGeneral process information.
-
module LinuxGeneral process information by reading /proc. Used on Linux to avoid spawning
ps. -
module ProcessStatusGeneral process information via the process status command (
ps). Used on non-Linux platforms (e.g. Darwin)
-
-
module HostPer-host (system-wide) memory metrics. Use Host::Memory for total/used/free and swap; use Process::Metrics::Memory for per-process metrics.
-
class MemoryStruct for host memory snapshot. All sizes in bytes.
-
class DarwinDarwin (macOS) implementation of host memory metrics.
-
module LinuxLinux host memory: tries cgroup v2, then cgroup v1, then /proc/meminfo.
-
class CgroupV1Captures host memory limits and usage from a cgroup v1 filesystem.
-
class CgroupV2Captures host memory limits and usage from a cgroup v2 filesystem.
-
class MeminfoCaptures host memory from Linux
/proc/meminfo.
-
-
-
-
class MemoryRepresents memory usage for a process, sizes are in bytes.
-
class DarwinDarwin (macOS) implementation of per-process memory metrics using vmmap(1).
-
class LinuxLinux implementation of per-process memory metrics using
/proc/[pid]/smapsor/proc/[pid]/smaps_rollup, and/proc/[pid]/statfor fault counters.
-
-
class ProcessorComputes interval CPU utilization from cumulative process metrics.
-
class SampleAn immutable measurement of process CPU usage over an interval.
-
-
-