We're trying to use God to monitor some processes that occasionally crash and peg the CPU. In top we see CPU% go to 100 or 200%, but God still reports use as only maybe 15-20%
Poking through the code and some linux forums, it seems the CPU stats returned by `ps` are historical over the life of the process, while calculating realtime stats requires polling, waiting an interval and re-polling to compare "jiffies" used over the interval. It looks like both God's SlashProcPoller and PortablePoller are basically calculating the historical CPU use which is not very helpful for occasionally crashing processes Has anyone made a stab at writing a "realtime" CPU checker? - Paul | http://pogodan.com -- You received this message because you are subscribed to the Google Groups "god.rb" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/god-rb?hl=en.
