stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

6h 8m 5s logged

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.

0
40

Comments 0

No comments yet. Be the first!