General TC > Programming & Scripting - Unofficial

Poor Man's cpu-frequency scaling monitor

(1/2) > >>

PDP-8:
After an installation, I like to make sure my multiple cores are properly frequency scaling when idle, and not just being hammered at full speed.

Messing around with certain kernel paramaters on the boot line like messing up acpi on/off etc etc can cause cores to drop or cpu's to run at full speed - so I like to check if I do something weird.

HTOP the 64-bit version, has a display option to also show cpu frequency.  The 32-bit version does not.

So, lets watch it say every second or so in Aterm..


--- Code: ---watch -n1 grep \"^[c]pu MHz\" /proc/cpuinfo
--- End code ---

Resize this window to something small while you do something else.  I only do this normally when introducing TC to new hardware just to make sure.  Or when I pass weird kernel parameters..

I like to watch in real time

neonix:
Now you can create text version of conky,. that is not bloatware.

patrikg:
Or the old figlet.


--- Code: ---while true; do date +'%H:%M' | figlet -f small;sleep 60;clear;done
--- End code ---

neonix:
Orr create fancy conky with figlet.

https://www.howtogeek.com/fun-linux-commands/
https://www.binarytides.com/linux-fun-commands/

gadget42:
mostly for the visitors of the future...

referencing previous post with image using "welcome to the colored toilet"

https://delightlylinux.wordpress.com/2015/11/13/colored-text-with-toilet/

Navigation

[0] Message Index

[#] Next page

Go to full version