Closed qikaigu closed 5 years ago
As mentionned in the README, you must use iostat
or sar
to get accurate result.
https://github.com/tmux-plugins/tmux-cpu#optional-requirement-linux-bsd-osx
I don't know what has been changed but I can't reproduce the inaccuracy with ps
when iostat
and sar
are not available. I'll close the issue.
I found that the CPU percentage for Linux seems to be the average CPU percentage since boot. As a result, it can hardly reflect current percentage if the machine has been up for long time.