Procdiskstats
Procdiskstats is a virtual file in the Linux proc filesystem that exposes per‑block‑device input/output statistics. It is generated by the kernel’s block layer and is commonly used by system monitoring tools to analyze disk activity. Each line in the file corresponds to a single block device and is updated periodically as I/O activity occurs. The data in procdiskstats are intended as counters accumulated since boot, not real-time snapshots, so users typically sample the file over time to compute rates.
The format of procdiskstats is defined as three identifying fields followed by a series of counters. Each
Procdiskstats is widely used by monitoring tools such as iostat and other system statistics collectors. It
Access to procdiskstats is generally read-only and provided by the kernel to userspace processes. It remains