Random Project

Nice idea…

The only thing I’d recommend is that you look at actually re-iterating the check of the stats so you can do a couple of things. First, it’ll give you more than just a single point in time, but secondly, you can provide actual CPU %’s instead of just raw time output.

Specifically, you would need to grab the data, wait a second and then grab the data again which you could then use math to calculate percentages. From there if you wanted to be really fancy you could all an average of x runs of the command to give a more “real” look into the system.

Overall, good work.