Checks if an specific process is being executed in the machine Module data module_begin module_name Process xxx module_type generic_proc module_service xxx module_description Process XXX running module_end
It measures the CPU average load. Module data module_begin module_name Load Average module_type generic_data module_exec uptime | awk F “,” ‘{print $3}’ | awk ‘{print $3}’ | tr d “\n” module_description Average load last...
Module that returns a text string with the last user connected Module data module_begin module_name Last Login module_type async_string module_exec last | head -1 module_description User last logged module_end
You need to install the hddtemp program. Adjust which drive/device you are after and if you want it in Celsius or Fahrenheit. Module data module_begin module_name hddtemp module_type generic_data module_exec /usr/sbin/hddtemp -n –unit=C /dev/sda ...
This is a very simple module to get CPU speed in Linux, based on parsing /proc/cpuinfo Module data module_begin module_name cpu_speed module_type generic_data module_exec cat /proc/cpuinfo | grep “cpu MHz” | tail -1 | awk ‘{print $4}’...