Open h0adp0re opened 3 years ago
This would be great, as the CPU output would be similar to the MEM output which doesn't seem to have floating points.
Oh yeah, that's a good point. There are some inconsistencies:
#{cpu.pused}
, has floating points.#{mem.used}
, has floating points, as it should, since it's in gigabytes.#{mem.pused}
, does not have floating points.It'd be nice to have some consistency, in addition to visual grepability. Or maybe it would be easier to remove floating points entirely from metrics displayed as percentages?
@h0adp0re @tuv7041
You may wanna take a look at https://github.com/samoshkin/tmux-plugin-sysstat/issues/8#issuecomment-1783944304.
Cheers
Thanks for putting time into this! Alas, I've resorted to using https://github.com/tmux-plugins/tmux-cpu since. It has all I need and it's under the official organization, which is a small pseudo-guarantee.
I have a relatively simple request, I'd like an option to trim floating points from CPU percentage as they add no value to me and make the percentage harder to read at times.