Install libsys-meminfo-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libsys-meminfo-perl
Description:
module to query the total free and used physical memory
Sys::MemInfo is a Perl module to return the total amount of free and used physical memory and swap-space. It is available for most major operating systems.
Homepage: https://metacpan.org/release/Sys-MemInfo
Version: 0.99-1build1
Section: universe/perl