E
ewaguespack
I am writing a script that monitors various system health metrics, and
I am done except for 1 thing... average CPU utilization.
OS:Linux (RHEL3)
Shell:Bash
Do any of you know a command I could run that would return the average
CPU utilization in the last 5 minutes averaged across all CPUs?
I have looked at /proc/loadavg, /proc/stat, loadavg, and top so far
without finding a way to do this.
Thanks in advance.
I am done except for 1 thing... average CPU utilization.
OS:Linux (RHEL3)
Shell:Bash
Do any of you know a command I could run that would return the average
CPU utilization in the last 5 minutes averaged across all CPUs?
I have looked at /proc/loadavg, /proc/stat, loadavg, and top so far
without finding a way to do this.
Thanks in advance.