From: rahma <sig...@hy...> - 2010-04-17 19:22:01
|
hello, i am using sigar in a C++ project. i want to mesure max available ressources. so i used sigar_resource_limit_get, Unfortunately I came across this problem: for different parameters (memory, cpu, ...) the current value is equal to max one wich is not correct. for example : cout << "current memory used : " << rlimit.memory_cur << endl; cout << "max memory : " << rlimit.memory_max << endl; it shows the same value. cout << "current processes : " << rlimit.processes_cur << endl; cout << "max processes : " << rlimit.processes_max << endl; shows the same value. and this is for all attributes in sigar_resource_limit_t struct. any comments or explications please???????? |