gecko-dev/testing/mozbase/mozsystemmonitor
Jim Chen e6583a6227 Bug 1335127 - Fall back to stub IO counters when psutil fails; r=gps
The fallback at [1], when psutil.disk_io_counters() fails, returns a
simple list but callers to get_disk_io_counters() expect an object with
specific properties. Returning a stub object from PsutilStub fixes that.

[1] https://dxr.mozilla.org/mozilla-central/rev/1d025ac534a6333a8170a59a95a8a3673d4028ee/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py#67
2017-02-01 17:26:51 -05:00
..
mozsystemmonitor Bug 1335127 - Fall back to stub IO counters when psutil fails; r=gps 2017-02-01 17:26:51 -05:00
tests Bug 1317970 - Make mozbase tests use mozunit for consistent formatting, r=chmanchester 2016-11-17 16:36:18 -05:00
README.rst
setup.py Bug 1272782 - Bump mozsystemmonitor version to 0.3; r=ahal 2016-05-13 14:11:40 -07:00

================
mozsystemmonitor
================

mozsystemmonitor contains modules for monitoring a running system.

SystemResourceMonitor
=====================

mozsystemmonitor.resourcemonitor.SystemResourceMonitor is class used to
measure system resource usage. It is useful to get a handle on what an
overall system is doing.