0
Working with monit I need create an alert that get cpu usage of system users, so:
top -b -n 1 -u user1 | awk 'NR>7 { sum += $9; } END { print sum; }'
seems a good solution but I'm not sure about reliable because when I do above command, every time change (obviously) the value. So, I need an "e...