Hi everyone,
I don't know how to calculate cpu and memory usage information of a process.I know this information is located in /proc/pid/... but where.......... ..because i want to display this information in C++ without using "gliptop" library........ ... Please help me ........even if possible i need "top" command source code in Linux...
Any help is greatly appreciated.... ...
I don't know how to calculate cpu and memory usage information of a process.I know this information is located in /proc/pid/... but where.......... ..because i want to display this information in C++ without using "gliptop" library........ ... Please help me ........even if possible i need "top" command source code in Linux...
Any help is greatly appreciated.... ...
Comment