...program. A program can determine the amount of CPU time it has consumed using times (2), getrusage (2), or clock (3). The hardware clock Most computers have a (battery-powered) …...setrlimit (2)) • measurements of the consumption of CPU time ( times (2)) and resources ( getrusage (2)) As well as the stack, POSIX.1 specifies that various other attributes ar…