How can I get a process usage using glibc ( getrusage() ) functions ?
It is always possible to fetch different information about a process from “/proc/” filesystem. I can point some important files from “/proc” filesystem to get statistics about a process. /proc/pid/stat /proc/pid/statm /proc/pid/status You can substitute the “pid” of the process in above and get the status of a process. I can see some of the …