How to determine idle time over a longer period?

From: c.j.bol <bol_at_Axp1.IenD.wau.nl>
Date: Fri, 29 Oct 1999 13:44:17 +0200

Hi, I want to know the cpu-usage of our backupserver after the backups are
finished.
I looked at the clock-program, but that's only for one running process, while I
like to know the system-wide cputime used.
What I want is something like:

cpu_1=cpu()
...
cpu_2=cpu()
cpu_total=cpu_2 - cpu_1

now I can easy calculate the average cputime used in the know period.

Thanks in advance

Kees Bol
Received on Fri Oct 29 1999 - 11:45:57 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT