CPUFREQD(8)

πŸ“¦ version 2.4.2, in alpine 3.24, debian bookworm, ubuntu jammy

πŸ’– CPUFREQD β€” the cpufreqd(8) manual, bestie edition πŸ’–

okay so you opened man 8 cpufreqd and now you're here, hi, welcome, let's get into it 🫢


✨ NAME ✨

cpufreqd β€” she intelligently monitors and manipulates your CPU frequency. yes, intelligently. it's in the name, it's in the vibe, it's giving main character energy πŸ‘‘


✨ SYNOPSIS ✨

cpufreqd [-Dmhv] [-f filename] [-V verbosity]

✨ DESCRIPTION ✨

So cpufreqd is this little daemon that sits there watching your system's status and then adjusts the frequency of your CPU according to your configuration. fully configurable behaviour, no cap. and it reports its logs through syslogd 🌸


✨ PARAMETERS ✨

One bullet per flag, all of them, nobody gets left behind πŸ’…

  • -D, --no-daemon β€” stays in the foreground instead of daemonizing (this is the one you use to debug).
  • -m, --manual β€” starts up in manual mode.
  • -f filename, --file=filename β€” tell it which configuration file to read. the default is /etc/cpufreqd.conf.
  • -h, --help β€” shows you the command line help. classic.
  • -v, --version β€” prints the version number of the daemon.
  • -V, --verbosity β€” the verbosity level, from 0 (least verbose) all the way up to 7 (most verbose). the default verbosity is 4.

✨ SIGNALS ✨

  • SIGHUP β€” this makes cpufreqd do a re-initialization. the configuration file (default /etc/cpufreqd.conf) gets re-read and the probes get re-done. > heads up bestie: not yet implemented in cpufreqd-2.0 😭
  • SIGINT, SIGTERM β€” cpufreqd will terminate. bye babe πŸ’€

✨ EXAMPLES ✨

/usr/sbin/cpufreqd -D

✨ NOTES ✨

Some ACPI implementations are very cpu-consuming when they read the info file of system batteries 😭 so cpufreqd implements a simple workaround that avoids reading that file except on initialization or reinitialization.

the side effect of that workaround, and this is important: you need to send an HUP signal if you insert a new battery. otherwise your battery measurement won't be correct. periodt.


✨ FILES ✨

  • /sys/devices/system/cpu/cpu*/cpufreq β€” kernel cpu frequency interface ✨
  • /proc/cpufreq β€” the old deprecated kernel cpu frequency interface (please avoid it, fr fr πŸ™ˆ)
  • /proc/acpi β€” kernel power management interface (ACPI)
  • /proc/apm β€” kernel power management interface (APM)
  • /proc/pmu β€” kernel power management interface (PMU). > Not yet implemented in cpufreqd-2.0
  • /etc/cpufreqd.conf β€” the cpufreqd configuration file πŸ’–

✨ SEE ALSO ✨

cpufreqd.conf(5), syslogd(8), cpufreqd-set(1), cpufreqd-get(1)


✨ BUGS ✨

  • Multiple CPUs are not considered separately, so the same policy gets set on every available CPU. πŸ’€
  • Battery can only be specified in percent, not in minutes remaining. 😭

✨ AUTHOR ✨

  • George Staikos <staikos@0wned.org>
  • Mattia Dongili <malattia@linux.it>
  • Rene Rebe <rene@rocklinux.org>

and that's the whole page, bestie πŸŽ€ this one shipped as part of CPUFREQD(8) dated 05 May 2005 β€” go forth, tune those frequencies, slay πŸ’…βœ¨

πŸ“¦ where this page comes from