Date: Fri, 5 Mar 2010 15:14:08 -0600 From: Peter Steele <psteele@maxiscale.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Calculating kernel/user/idle time Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3A1A640C@MBX03.exg5.exghost.com>
next in thread | raw e-mail | index | archive | help
What's the proper way to calculate kernel/user/idle time? I know the raw va= lues come from sysctl kern.cp_time, but these values need to be "massaged"= based on the number of CPUs and so on. Can someone explain briefly what th= e algorithm is calculating the final percentages representing these times.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B9397B189EB6E46A5EE7B4C8A4BB7CB3A1A640C>