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
CPUPOWER-FREQUENCY-INFO(1) cpupower Manual CPUPOWER-FREQUENCY-INFO(1)NAME
cpupower frequency-info - Utility to retrieve cpufreq kernel information
SYNTAX
cpupower [ -c cpulist ] frequency-info [options]
DESCRIPTION
A small tool which prints out cpufreq information helpful to developers and interested users.
OPTIONS -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.
REMARKS
By default only values of core zero are displayed. How to display settings of other cores is described in the cpupower(1) manpage in the
--cpu option section.
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 cpupower-frequency-set(1), cpupower(1)
0.1 CPUPOWER-FREQUENCY-INFO(1)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)