streetturtle / awesome-wm-widgets

Widgets for Awesome Window Manager
http://pavelmakhov.com/awesome-wm-widgets/
MIT License
2.14k stars 277 forks source link

CPU widget get lied? #165

Open bvn13 opened 4 years ago

bvn13 commented 4 years ago

image

134 % ??? WHAT?

And it shows about 11-16% for awesome wm always. Even at the same time when Gnome Monitor shows only 1-3%.

streetturtle commented 4 years ago

134% means that the process runs on more than one core. In total you may have 400%: it's similar to what they discuss here: https://askubuntu.com/a/707206/95365

I would guess that Gnome Monitor shows percentage of total CPU capacity.

streetturtle commented 4 years ago

I think you're right, ps returns average historic values: #175 I'll make it an optional parameter, so you'll be able to either show average historic or current values. Will post here when it's done. Thanks for the issue!