Skip to content
systemcoding.dev

Tag

beginner

445 posts

Flat illustration of a CPU core with its cache levels and main memory, with the C, Arm and Apple logos.
Systems Programming

Check Resource Usage with getrusage

Read CPU time, peak memory, page faults and context switches for your own process with getrusage on Linux with glibc 2.40, and know which fields are filled.

7 min read