[PATCH] Added new cpu.py module to exposes cpu information. It has two methods: - usage - gets the average cpu usage, returns per cpu percentage for user, nice, system, idle, iowait, etc. - jiffies - fetches cpu statistics from /proc/stat and returns them
2011-03-21 08:35:19 UTC
Greg Swift