-
Notifications
You must be signed in to change notification settings - Fork 384
Facet
bcakipp edited this page Sep 14, 2012
·
3 revisions
Facet is a cross platform abstraction layer providing APIs to collect basic system statistics from multiple platforms. Its designed to be plug-able and easy to add additional statistics and platforms.
Facet is designed to be used by the basic system collectors (e.g. cpu, loadavg, memory, etc...) to enable Diamond to collect data from any platform supported by Facet.
Currently Linux and SunOS platforms are supported.
- LoadAverageModule
- CPUStatModule
- MemoryStatModule
- DiskSpaceModule
- DiskStatModule
import facet
f = facet.Facet()
(1m, 5m, 15m, total_proc, running_proc) = f.loadavg.get_load_average()