nethacker / usagewatch

A Ruby Gem with methods to find usage statistics on a Linux server such as CPU, Disk, TCP/UDP Connections, Load, Bandwidth, Disk I/O, and Memory
MIT License
79 stars 38 forks source link

Fixes on detection diskuser_per and memused #17

Open jsanroman opened 8 years ago

jsanroman commented 8 years ago

On my linux system these methods did not work, they always returned 0 because the output to /proc/meminfo and /proc/stat were a bit differents. They work for me now, and they should be more solids.