(Ubuntu) C Computing CPU usage using /proc/stat

后端 未结 0 604
春和景丽
春和景丽 2020-12-01 08:53

I\'m trying to write a program in C that will read from /proc/stat, wait a second, then read from /proc/stat again a second later, then do some math to find the "curren

相关标签:
回答
  • 消灭零回复
提交回复
热议问题