It returns the consume percentage, pid and name of the process that is consume more than the 90% of the CPU Module data module_begin module_name Processes high CPU (%, PID, name) module_type generic_data_string module_exec core=$(nproc) && ps -eo...
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)...