:
It returns the pid of the process that is consume more than the 90% of the CPU
Module data
module_begin module_name Processes high CPU module_type generic_data_string module_exec ps -eo pcpu,pid,comm | sort -n | grep -v CPU | tail -1 | awk '{if ($1>90) print $2; else print "NA"}' | tr d "\n" module_description PID Processes > 90% CPU module_end
(Visited 329 times, 1 visits today)