On Thu, 9 Dec 2010 09:57:55 +0100 Agblad Tore wrote: > I would say: don't use script for monitoring cpu. > You may not get the correct cpu figures from inside the Linux > and these cmds in scripts consumes huge cpu and I/O !!
I can't see where parsing the output from mpstat would universally qualify for this admonition. Your bad experience is yours, not everyone elses. > Do it in z/VM and a nice Rexx instead, much better ! This may well be true for something like overall CPU usage of the entire guest - bit hard to determine userspace usage from the hipervisor though. Probably also presumes the availability of a monitor product of some sort on z/VM. Shane ... ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
