LOG 2: CPUINFO (unfinished), LIVE VALUES
CPUINFO
I am currently working on displaying the CPU info but the display is faulty and i havent found the issue yet, but i felt posting a log after 6 hours was necessary. The parsing of /proc/cpuinfo has turned out to be way harder than /proc/meminfo yet its (almost) working.
LIVE VALUES
I made the values refresh after 2 seconds to get an accurate read of the current usage. This is done by looping the meminfo function and most importantly regenerating it by using lseek to reset the index which regenerates the file.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.