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

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

2011-02-04 Thread Lars Ellenberg
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 could get it a

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 > fa

[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 abo

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

2011-02-03 Thread Ulrich Windl
>>> "Soffen, Matthew" schrieb am 03.02.2011 um 16:35 in Nachricht : > 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 thought: I was wondering whether the output format on other systems ma

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 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

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

2011-02-03 Thread Ulrich Windl
>>> Michael Schwartzkopff 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 much