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

Define or Search Memory Row #13

Open geocom opened 10 years ago

geocom commented 10 years ago

I was having an issue with usage watch pulling out the incorrect line from /proc/meminfo in Fedora 20.

Update allows for the user to define what lines MemTotal and Active are located.

If not defined it will now search the file for the lines.