I have implemented a class for monitoring entire system resource usage. I think it's pretty useful and would make a good addition to mozbase.
This could arguably be added to mozinfo instead of creating a whole new package. I'll leave that to the mozbase people to decide.
Future additions to this package could include modules for easily looking at running processes, memory usage, etc. Basically, I'm thinking this will be high-level API for psutil.
Add mozsysteminfo package with SystemResourceMonitor
Sorry for the long turnaround. This looks like a nice patch but our preferred medium for discussing such things is bugzilla. :)
Generally we add and organize things to mozbase based on need. Are you using this module for anything (or planning to?). Where do you think this could be used? These would be good things to discuss in the bug.