I am writing one tool and I need to gather some information about running Linux system beyond those that available from sysinfo, as I understand many of them are available from /proc/ file system, but I need to do it from the C language level, is there any system API for doing this or maybe I should just write functions or scripts that do it for me and pass results to my C program?
I am writing one tool and I need to gather some information about running
Share
The
procfilesystem is the API: you read the pseudo-files to get the data. This can be done in any programming language, including C.