All Data Structures Functions Variables Enumerations Enumerator Groups Pages
libsysactivity Documentation

# Technical overview

- Lightweight: It's a small and fast library that obtains the statistics directly from the system, nothing else is under it.
- Secure: it works with no privileges so no SUID bit is needed.
- Multi-architecture: it exposes a common API: common functions and common structures, most of the fields of these structures are common too. The OS-specific stuff has been reduced to the minimum.
- Thread-safe: you can use it during simultaneous execution by multiple threads.
- SMP: It supports per-processor statistics when possible (the underlying OS has to be capable to do so).
- Unit and stress tests: automated tests are used to guarantee the quality of the code.

libsysactivity is made up of these feature sets:

- cpu
- disk
- memory
- network
- process