a lib to determine CPU /memory consumption.
Use cmake to build the lib.
Ubuntu 12.04+ x86/32 Windows xp x86
Make a look to files in examples directory to see them.
You can build the documentation using doxygen, or "make doc"
All class are under the sys namespace.
You can use them by include
<Monitoring/sys.hpp> //All files
//or
<Monitoring/Cpu.hpp>
<Monitoring/Physical.hpp>
<Monitoring/Virtual.hpp>
SYS_64BIT //defined is the OS is 64 bits
SYS_32BIT ///defined is the os is 32 bits
std::string osName();
std::string osNameBit();
int osBit();
bool checkBit();
static int processors();
static double used(); //in %
static double usedByProc(); //in %
static uint64_t total();
static uint64_t used();
static uint64_t usedByProc();
static uint64_t total();
static uint64_t used();
static uint64_t usedByProc();