Usage: cpuspeed [Options]

    Options:
        -d
            Tells the process to daemonize itself (run in background).

        -i <interval>
            Sets the interval between idle percentage tests and possible
            speed changes in 1/10 second increments (default is 20).

        -p <fast up> <threshold>
            Sets the CPU idle percentage thresholds.  <fast up> is the idle
            percentage below which the CPU will be set to the highest possible
            speed.  <threshold> is the idle percentage above which the CPU
            speed will be decreased and below which the CPU speed will be
            increased (defaults are 10 and 25).

        -t <temp file> <maxtemp>
            Sets the ACPI temperature file and the temperature at which CPU
            will be set to minimum speed.

        -a <AC file>
            Sets the ACPI AC adapter state file and tells the program to set
            the CPU to minimum speed when AC adapter is disconnected.

    To tell the program to stay at the highest CPU clock speed to maximize
    performance, send the process the SIGUSR1 signal.

    To tell the program to stay at the lowest CPU clock speed to maximize
    battery life, send the process the SIGUSR2 signal.

    To tell the program to go back to scaling the CPU clock speed dynamically,
    send the process the SIGHUP signal.

Example:
    cpuspeed -d -i 10 -t /proc/acpi/thermal_zone/THRM/temperature 79 \
        -a /proc/acpi/ac_adapter/ACAD/state

    This will have the program check (and possibly change) the CPU speed once
    every second and go to minimum CPU speed if the temperature goes above 79
    or the AC adapter is disconnected.
