Install ruby-vmstat by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-vmstat
Description:
library to gather system information
A focused and fast ruby library that gather system information about memory (free, active), network(name, in bytes, out bytes), CPU(user, system, idle), load average, disk.
Homepage: http://threez.github.com/ruby-vmstat/
Version: 2.3.0-2
Section: universe/ruby