I am creating programming software. The user program is obtained by our judging system and is evaluated by compiling it and running it through fork () and exec (). The parent process waits for the child (sending process) to exit and then clear it.
To provide useful information about starting a program, I want to measure the processor time and peak memory used by the program. Is the Linux kernel tracking these values? Is there any other way to get this information?
c linux statistics linux-kernel operating-system
donatello
source share