Adjust and monitor the CPU running frequency in Ubuntu

Source: Internet
Author: User
Some friends hope to adjust the cpu frequency in Ubuntu and monitor it. It takes some time to find a new one. /// // Update ///// /// // the simplest method code: sudodpkg-reconfiguregnome-applets and then select OK and yes to monitor the cpu frequency

Some friends hope to adjust the cpu frequency in Ubuntu and monitor it. It takes some time to find a new one.

/// // Update ///// /////////////////////////////

There is actually the simplest method code:

Sudo dpkg-reconfigure gnome-applets

Select "OK" and "yes", and add the cpu frequency monitor to the Panel. The cpu freq-selector is automatically installed. You do not need to install cpufrequtils.

//////////////////////////////////////// ////////////////////////////////

We need to install cpufrequtils. This software displays the current cpu frequency, modifies the frequency, selects the cpu, and selects the cpu running mode. Note that only some cpu with adjustable frequencies are supported, such as intel's notebook cpu. It may be too frequent to try it.

Code:

Sudo apt-get install cpufrequtils

Usage code:

Cpufreq-info, cpufreq-selector, and cpufreq-set.

For specific usage, see man or add-h after the command.

For example, code:

Man cpufreq-info

Or code:

Cpufreq-info-h

1. View the CPU type, current frequency, supported frequency, and running mode. Code:

Cpufreq-info

This is the code of my cpu in powersave mode:

Zhuqin @ ubuntu :~ $ Cpufreq-info

Cpufrequtils 002: cpufreq-info (C) Dominik brodoski 2004-2006

Report errors and bugs to linux@brodo.de, please.

Analyzing CPU 0:

Driver: centrino

CPUs which need to switch frequency at the same time: 0

Hardware limits: 798 MHz-1.73 GHz

Available frequency steps: 1.73 GHz, 1.73 GHz, 1.73 GHz, 1.73 GHz, 1.73 GHz, 1.73 GHz, 1.73 GHz, 1.33 MHz

Available cpufreq governors: powersave, userspace, ondemand, conservative, performance

Current policy: frequency shocould be within 798 MHz and 1.73 GHz.

The governor "powersave" may decide which speed to use

Within this range.

Current CPU frequency is 798 MHz.

2. Select the cpu code to be adjusted:

Sudo cpufreq-selector-c cpu No.

Or code:

Sudo cpufreq-set-c cpu No.

The dual-core or multi-core cpu may be selected. I am not a dual-core engineer and cannot perform an experiment. I also need to experiment with duo core and report the situation to my post.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.