cpusage A library and a commandline tool to get cpu usage in total and on all cores References https://stackoverflow.com/questions/23367857/accurate-calculation-of-cpu-usage-given-in-percentage-in-linux