Hi everyone,
I am trying to write a C program to collect some information about the cpu. Information needed includes memory performance (total memory/free memory), cpu performance, network performance, and file system information. Are there any libraries in C that would help me do that with as little kernel usage as possible? The OS would be unix/linux

Thanks!