Virtual Mem Free HP-UX Dec 14, 2017 | HP-UX category, Operating SystemsThese module returns percentage of free swap memory. Module data module_begin module_name Virtual Mem Free module_type generic_data module_exec swapinfo | grep memory | tr d “%” | awk ‘{ print 100$5 }’ | tr d “\n” module_max 100 ...
Memory cached activity Unix Dec 14, 2017 | Linux category, Operating SystemsPercentage of cached memory Module data module_begin module_name Buffer_activity module_type generic_data module_exec echo $((( `free | grep Mem | awk ‘{ print $7 }’` * 100) / `free | grep Mem | awk ‘{ print $2 }’`)) module_description...
CPU Utilization Unix Dec 14, 2017 | Linux category, Operating SystemsFree or occupied percentage of CPU utlization in Unix systems. Module data module_begin module_name CPU Utilization Unix module_type generic_data module_exec vmstat 1 2 | tail -1 | awk ‘{ print $15 }'(Free) module_exec echo $(( 100 – `vmstat 1 2 | tail...