SysBPF is a system analysis tool built on the BPF Compiler Collection (BCC) toolkit.
WARNING: This tool is a prototype!
Usage:
./block-stack.py --interval 5
Column abbreviations:
- s: submission
- c: completion
- r, w, d: read, write, discard
- ra: read ahead
- rm, wm, dm: read merge, write merge, discard merge
- rs, ws, ds: read split, write split, discard split
- ct: count (request/s)
- st: service time (time/request)
- sz: size (sectors/request)
- bw: bandwidth (sectors/s)
Data collection:
./block-stack.py --interval 5 --no-header > stats.data
For details, please refer to my blog article.