Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cpufreq-aperf(1) [debian man page]

cpufreq-aperf(1)														  cpufreq-aperf(1)

NAME
cpufreq-aperf - Calculates the average frequency over a time period SYNTAX
cpufreq-aperf [options] DESCRIPTION
On latest processors exist two MSR registers refered to as: - MPERF increasing with maxium (P0) frequency in C0 - APERF increasing with current/actual frequency in C0 From this information the average frequency over a time period can be calculated and this is what this tool does. A nice falloff feature beside the average frequency is the time a processor core remained in C0 (working state) or any CX (sleep state) processor sleep state during the measured time period. This information can be determined from the fact that MPERF only increases in C0 state. OPTIONS
-c --cpu <CPU> The <CPU> core to measure - default all cores. -i --interval <seconds> Refresh rate - default 1 second. -o --once Exit after one interval. -h --help Prints the available options. REMARKS
The msr driver must be loaded for this command to work. AUTHORS
Thomas Renninger <trenn@suse.de> SEE ALSO
cpufreq-set(1), cpufreq-info(1) Mattia Dongili 0.1 cpufreq-aperf(1)

Check Out this Related Man Page

cpufreq-info(1) 														   cpufreq-info(1)

NAME
cpufreq-info - Utility to retrieve cpufreq kernel information SYNTAX
cpufreq-info [options] DESCRIPTION
A small tool which prints out cpufreq information helpful to developers and interested users. OPTIONS
-c --cpu <CPU> <CPU> number which information shall be determined about. -e --debug Prints out debug information. -f --freq Get frequency the CPU currently runs at, according to the cpufreq core. -w --hwfreq Get frequency the CPU currently runs at, by reading it from hardware (only available to root). -l --hwlimits Determine the minimum and maximum CPU frequency allowed. -d --driver Determines the used cpufreq kernel driver. -p --policy Gets the currently used cpufreq policy. -g --governors Determines available cpufreq governors. -a --related-cpus Determines which CPUs run at the same hardware frequency. -a --affected-cpus Determines which CPUs need to have their frequency coordinated by software. -s --stats Shows cpufreq statistics if available. -y --latency Determines the maximum latency on CPU frequency changes. -o --proc Prints out information like provided by the /proc/cpufreq interface in 2.4. and early 2.6. kernels. -m --human human-readable output for the -f, -w, -s and -y parameters. -h --help Prints out the help screen. REMARKS
You can't specify more than one of the output specific options -o -e -a -g -p -d -l -w -f -y. You also can't specify the -o option combined with the -c option. FILES
/sys/devices/system/cpu/cpu*/cpufreq/ /proc/cpufreq (deprecated) /proc/sys/cpu/ (deprecated) AUTHORS
Dominik Brodowski <linux@brodo.de> - author Mattia Dongili<malattia@gmail.com> - first autolibtoolization SEE ALSO
cpufreq-set(1) Mattia Dongili 0.1 cpufreq-info(1)
Man Page

15 More Discussions You Might Find Interesting

1. HP-UX

How to find processor frequency

Hello , Please tell me how to find processor frequency in HP UNIX . (8 Replies)
Discussion started by: manjunath
8 Replies

2. UNIX for Advanced & Expert Users

How do I change the minimum working frequency ?

The file /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_frequency reads a value of 800 Mhz . The powertop tool also suggested that 800 Mhz w3as the minimum frequency being used . I changed the above-mentioned file to 1.6 GHz and monitored powertop tool again . To my surprise, it still said that... (3 Replies)
Discussion started by: vishwamitra
3 Replies

3. Hardware

Find bottlenecks

Hello, I would like to know whether there is software to search for bottlenecks in the configuration PC. I'm talking about those cases where the increase in CPU frequency may not lead to anything in DDR1 RAM 300, for example. I would like to have software that shows which components are most... (3 Replies)
Discussion started by: Denisiuk
3 Replies

4. Shell Programming and Scripting

Calculating cumulative frequency

Hi, I have a file containing the frequency's of an element sorted in ascending order. The file looks something like this: #Element Frequency 1 1 2 1 3 1 4 1 5 1 6 ... (5 Replies)
Discussion started by: sajal.bhatia
5 Replies

5. AIX

Read input data within a specified period of time

Hi All, I am working on a script which requires an input from user within one 1 min. So if the user gives the required input within 1 min., it will execute on the basis of input provided by the user.Other wise it will execute on a default value(hard coded inside the script). Now, I am... (19 Replies)
Discussion started by: rajsharma
19 Replies

6. UNIX for Dummies Questions & Answers

Calculating average

Hi, i have 12 float variables in a bash file and i want to calculate the average of them. Can any body help? (6 Replies)
Discussion started by: limadario
6 Replies

7. Shell Programming and Scripting

Perl- Finding average "frequency" of occurrence of duplicate lines

Hello, I am working with a perl script that tries to find the average "frequency" in which lines are duplicated. So far I've only managed to find the way to count how many times the lines are repeated, the code is as follows: perl -ae' my $filename= $ENV{'i'}; open (FILE, "$filename") or... (10 Replies)
Discussion started by: acsg
10 Replies

8. UNIX for Advanced & Expert Users

Problem loading cpufreq module

I'd like to install cpufreq modules on my server . I tried sudo modprobe acpi-cpufreq but got the error FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.18-238.12.1.el5xen/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko): No such device cat /proc/cpuinfo gives this ... (11 Replies)
Discussion started by: vishwamitra
11 Replies

9. Shell Programming and Scripting

Calculating frequency of values within bins

Hi, I am working with files containing 2 columns in which i need to come up with the frequency/count of values in col. 2 falling within specifics binned values of col. 1. the contents of a sample file is shown below: 15 12.5 15 11.2 16 0.2 16 1.4 17 1.6 18 4.5 17 5.6 12 8.6 11 7.2 9 ... (13 Replies)
Discussion started by: ida1215
13 Replies

10. Red Hat

CPU Count

Hi, I am observing high load average on RHEL5 server and need to check the number of core processors available on the box to give me a bigger picture on whether or not I should be worried. I have always checked the physical count quite simply..... # grep 'physical id' /proc/cpuinfo |... (10 Replies)
Discussion started by: Duffs22
10 Replies

11. HP-UX

memory consumption over a time period

Hi, Can some one please tell me how do I generate a report of the Memory Consumption over a time period: HP-UX B.11.31 U ia64 0440531406 unlimited-user license I normally use glance to monitor memory in run time. Note: I do not have root privileges. Thanks Danish ... (5 Replies)
Discussion started by: danish0909
5 Replies

12. UNIX for Dummies Questions & Answers

Calculating cumulative frequency using awk

Hi, I wanted to calculate cumulative frequency distribution of my data that involves several arithmetic calls. I did things in excel but its taking me forever. this is what I want to do: var1.txt contains n observations which I have to compute for frequency which is given by 1/n and subsequently... (7 Replies)
Discussion started by: ida1215
7 Replies

13. UNIX for Advanced & Expert Users

High load average in idle state

With linux kernel 2.4.22-1.2199.nptlsmp (I know, it's very old) Sometimes Load average increases to big value (over 7) but my 4 vCPU are in idle state (5% busy every cpu). My web procedure was gone down so I found out that process (with 4732 process id, see my following output) was in... (4 Replies)
Discussion started by: zio_mangrovia
4 Replies

14. UNIX for Advanced & Expert Users

Want to get average value for each hour

I want to get CPU average value only (not required user CPU & memory) with each hours on individual date. The sample output is below | | | User |Memory| User | Date | Time |CPU %|CPU % | % |Mem % | 03/02/2015|00:00:00| 24.56| 20.66| 89.75| 63.48|... (13 Replies)
Discussion started by: Saravanan_0074
13 Replies

15. Shell Programming and Scripting

Output calculations

Attached are the is original output (zipped file) and a custom file using the awk code below in which the average reads per bait are calculated (average.txt) awk '{if(len==0){last=$4;total=$6;len=1;getline}if($4!=last){printf("%s\t%f\n", last,... (7 Replies)
Discussion started by: cmccabe
7 Replies