The linux-kstat library provides a hash style interface for reading Linux kernel statistics read out of /proc/stat.
Daniel J. Berger
gem "linux-kstat", "~> 0.1.0"