WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Poor Man's cpu-frequency scaling monitor  (Read 235 times)

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 941
Poor Man's cpu-frequency scaling monitor
« on: June 17, 2025, 05:21:56 AM »
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: [Select]
watch -n1 grep \"^[c]pu MHz\" /proc/cpuinfo
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
That's a UNIX book! - cool  -- Garth

Offline neonix

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 513
Re: Poor Man's cpu-frequency scaling monitor
« Reply #1 on: June 17, 2025, 10:10:55 AM »
Now you can create text version of conky,. that is not bloatware.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 760
Re: Poor Man's cpu-frequency scaling monitor
« Reply #2 on: June 17, 2025, 10:50:36 AM »
Or the old figlet.

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

Offline neonix

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 513

Offline gadget42

  • Hero Member
  • *****
  • Posts: 890
Re: Poor Man's cpu-frequency scaling monitor
« Reply #4 on: June 18, 2025, 08:05:07 AM »
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/
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 941
Re: Poor Man's cpu-frequency scaling monitor
« Reply #5 on: June 22, 2025, 05:07:15 PM »
Neonix - thanks for those.

Sometimes I'll get into the mindset of "What if I was left stranded alone on an island with nothing but a coconut, a computer, and tinycorelinux with no internet access?"

Here's where the cli fun begins!  I think it's a healthy mindset break sometimes.
That's a UNIX book! - cool  -- Garth