• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

cpufreq-info Command Examples in Linux

by Deepika

The cpufreq-info command is a utility in Linux that is used to display information about the CPU frequency scaling capabilities of a system. CPU frequency scaling is the process of adjusting the speed at which a CPU is able to process instructions in order to save energy or improve performance.

To display general information about the CPU frequency scaling capabilities of the system, use the following command:

# cpufreq-info

This will display information such as the current CPU frequency, the available frequency scales, and the current governor (the algorithm that is used to control the CPU frequency).

cpufrequtils Command Examples

1. Show CPU frequency information for all CPUs:

# cpufreq-info

2. Show CPU frequency information for the specified CPU:

# cpufreq-info -c cpu_number

3. Show the allowed minimum and maximum CPU frequency:

# cpufreq-info -l

4. Show the current minimum and maximum CPU frequency and policy in table format:

# cpufreq-info -o

5. Show available CPU frequency policies:

# cpufreq-info -g

6. Show current CPU work frequency in a human-readable format, according to the cpufreq kernel module:

# cpufreq-info -f -m

7. Show current CPU work frequency in a human-readable format, by reading it from hardware (only available to root):

# sudo cpufreq-info -w -m

Filed Under: Linux

Some more articles you might also be interested in …

  1. CentOS / RHEL 7 : How to configure VLAN Tagging using nmcli
  2. CentOS / RHEL 6 : How to setup yum repository using locally mounted DVD
  3. ufw: command not found
  4. How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  5. What is SUID, SGID and Sticky bit ?
  6. flock Command Examples in Linux
  7. antibody – “The fastest” shell plugin manager (Command Examples)
  8. CentOS / RHEL 7 : How to configure kdump using GUI
  9. vncviewer Command Examples in Linux
  10. How to Change Kernel Semaphore Limits in CentOS/RHEL

You May Also Like

Primary Sidebar

Recent Posts

  • aws ec2: CLI for AWS EC2 (Command Examples)
  • aws cur – Create, query, and delete AWS usage report definitions (Command Examples)
  • aws configure – Manage configuration for the AWS CLI (Command Examples)
  • aws cognito-idp: Manage Amazon Cognito user pool and its users and groups using the CLI

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright