Question: USING C LANGUAGE. I learned about /proc but im having trouble implementing this. I have this template, and am not sure how to use it


Write a default version of program to report the behavior of the Linux kernel by inspecting kernel state. The program should print the following values to the user screen or console: CPU model name Kernel version Amount of time since the system was last booted, in the form dd:hh:mm:ss (for example, 3 days 13 hours 46 minutes 32 seconds would be formatted as 03:13:46:32) report date (gettimeofday) and machine hostname #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
