[Linux-HA] Antw: Re: pacemaker/HealthCPU

2011-02-04 Thread Ulrich Windl
Lars, you are right, and I saw that my guess to use /proc/stat was wrong. top is slow in getting the current CPU usage. So basically I wondered if you need the CPU usage at all. If you'd switch to load, you could get it a lot faster. To be honest: I wondered what HealthCPU would monitor about

Re: [Linux-HA] Antw: Re: pacemaker/HealthCPU

2011-02-04 Thread Michael Schwartzkopff
On Friday 04 February 2011 14:35:35 Ulrich Windl wrote: Lars, you are right, and I saw that my guess to use /proc/stat was wrong. top is slow in getting the current CPU usage. So basically I wondered if you need the CPU usage at all. If you'd switch to load, you could get it a lot faster.

Re: [Linux-HA] Antw: Re: pacemaker/HealthCPU

2011-02-04 Thread Dimitri Maziuk
Lars Ellenberg wrote: On Fri, Feb 04, 2011 at 02:35:35PM +0100, Ulrich Windl wrote: Lars, you are right, and I saw that my guess to use /proc/stat was wrong. top is slow in getting the current CPU usage. So basically I wondered if you need the CPU usage at all. If you'd switch to load, you

[Linux-HA] Antw: Re: pacemaker/HealthCPU

2011-02-03 Thread Ulrich Windl
Michael Schwartzkopff mi...@clusterbau.com schrieb am 03.02.2011 um 13:09 in Nachricht 201102031309.04931.mi...@clusterbau.com: On Thursday 03 February 2011 12:35:34 Ulrich Windl wrote: Hi! I'm starting to explore Linux-HA. Examining one of the monitors, I think things could be made

Re: [Linux-HA] Antw: Re: pacemaker/HealthCPU

2011-02-03 Thread Michael Schwartzkopff
On Thursday 03 February 2011 16:00:54 Ulrich Windl wrote: Michael Schwartzkopff mi...@clusterbau.com schrieb am 03.02.2011 um 13:09 in Nachricht 201102031309.04931.mi...@clusterbau.com: On Thursday 03 February 2011 12:35:34 Ulrich Windl wrote: Hi! I'm starting to explore

[Linux-HA] Antw: Re: pacemaker/HealthCPU

2011-02-03 Thread Ulrich Windl
Soffen, Matthew msof...@iso-ne.com schrieb am 03.02.2011 um 16:35 in Nachricht e847bfef193361409d48010ec8ace3bc01703...@exchangebe.iso-ne.com: Morning All, Please also keep in mind that /proc/stat is ONLY in Linux and Linux-HA despite the name is also used on FreeBSD and Solaris. Hi! Good