ERROR: Slooooow dooooown... this page load was delayed.


cpufrequtils - Library and command line tools for the cpufreq subsystem ChangeLog

HOWTO


# cpufrequtils 002
# ================
# Linux kernel with CONFIG_CPU_FREQ and related options set
# sysfsutils
# gawk
# sed
# grep
# gettext (for the utils)

# Older versions used configure, who's default prefix was /usr/local.
# The three digit number versions use a default prefix of /usr.  So,
# skip down to the bottom to remove the old version if you have one
# installed, or pass DESTDIR to make.

# I pass NLS=false to make below because I live in the US and only
# read/write (well) English.  If this is not the case for you, just run
# 'make'.

cd
test -f installed/cpufrequtils-002.tar.bz2 &&
mv installed/cpufrequtils-002.tar.bz2 .
test ! -f cpufrequtils-002.tar.bz2 &&
wget http://www.kernel.org/pub/linux/utils/kernel/cpufreq/\
cpufrequtils-002.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "cpufrequtils-*" -exec rm -r {} \;
tar xjvf ~/cpufrequtils-002.tar.bz2
cd cpufrequtils-002
test $UID = 0 && chown -R root:root .
make NLS=false

# Become root to install it
su

make install
ldconfig

# See 'cpufreq-info --help' and 'man cpufreq-info' for usage info about it.
# To display cpufreq info, run:
cpufreq-info

# See 'cpufreq-set --help' and 'man cpufreq-set' for usage info about it.
# To change the governor to 'ondemand':
cpufreq-set -g ondemand

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/cpufrequtils-*.tar.*
mv cpufrequtils-002.tar.bz2 installed/


# If you ever need to uninstall cpufrequtils, this should do it:
cd
su
test -d src/cpufrequtils-* &&
( cd src/cpufrequtils-* ; make uninstall )
for pfx in /usr /usr/local; do
  ( cd ${pfx}/bin ; rm -f cpufreq-info cpufreq-set )
  ( cd ${pfx}/man/man1 ; rm -f cpufreq-info.1 cpufreq-set.1 )
  rm -f ${pfx}/include/cpufreq.h ${pfx}/lib/libcpufreq.*
done
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "cpufrequtils-*" -exec rm -r {} \;
rm -f ~/installed/cpufrequtils-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-06-01 11:38am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]