System Monitor is a Firefox and Thunderbird extension that provides CPU usage and memory usage graphs on the toolbar.
And, this addon provides API for web applications. For example, you can monitor CPU usage by following script:
-------------------------------------------------------------------
var listener = function(aUsage){ print(aUsage); }
window.system.addMonitor("cpu-usage", listener, 1000);
window.system.removeMonitor("cpu-usage", listener);
-------------------------------------------------------------------
or:
-------------------------------------------------------------------
var listener = {
console : document.getElementById('console'),
monitor : function(aUsage){ this.console.innerHTML += ''+aUsage; }
};
window.system.addMonitor("cpu-usage", listener, 1000);
window.system.removeMonitor("cpu-usage", listener);
-------------------------------------------------------------------
Git repository: http://git.clear-code.com/xul/extensions/system-monitor/
How to Install in Thunderbird:
1. Right-click the link below and choose "Save Link As..." to download and save the file to your hard disk.
2. In Mozilla Thunderbird, open Add-ons from the Tools menu.
3. Click the Install button, and locate/select the file you downloaded and click "OK".
Product's homepage
Requirements:
· Mozilla Thunderbird
What's New in This Release: [ read full changelog ]
· Now network usage monitor is available.
· Made binary components free. Now all features are implemented in JavaScript.
· Refactoring.