I know that there is sysinfo
structure under <sys/sysinfo.h>
header file which stores the information.
But i wanted to know, how does Linux keep this information?, how does it initialize the structure?, When is it created and how is it stored?, How is it updated?, Can we customize the structure?
Is there are a file in which keep this information!?. Is there a alternate way to get system status information? can we bypass this and can directly get the status from the hardware.
(Attach resource if possible)