36.1. Process Resource Usage
The getrusage() system call retrieves statistics about various system resources used by the calling process or by all of its children.
#include <sys/resource.h>
int getrusage(int who, struct rusage *res_usage);
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial