Greetings all,
I'm running cpuplugd (Linux on System z CPU hotplug daemon version 1.8.1-8.el5)
and am having problems getting it to evaluate expressions correctly.
In order to better see what was happenning, I reduced it down to a couple very
simple cases:
1) MEMUNPLUG="(freemem > 256/2*2)"
Trims freemem down to 64 MB
2) MEMUNPLUG="(freemem > 256/2/2)"
Trims freemem down to 64 MB
3) MEMUNPLUG="(freemem > (256/2)*2)"
Trims freemem down to 64 MB
4) MEMUNPLUG="(freemem > 256/(2/2)"
Trims freemem down to 256 MB
Only 2) and 4) perform as expected.
Has anyone else seen this? Is able to reproduce? Show me the error of my ways?
This is on RHEL 5.5 2.6.18-194.3.1.el5.
Mark Wheeler
UnitedHealth Group
--
"Excellence. Always. If Not Excellence, What? If Not Excellence Now, When?"
Tom Peters, author of "The Little BIG Things"
----------------------------------------------------------------------
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/