pmcycles Command
Purpose
Measures processor clock speed.
Syntax
Description
The pmcycles command displays the nominal processor speed for the system in MHz. The nominal processor speed is the maximum frequency at which the system can run across all environments and workload conditions. Depending on system conditions, the nominal processor frequency might not represent the minimum or maximum achievable processor speed.
The lparstat -E 1 1 and mpstat -E 1 1 commands must be used to determine the current processor speed. The pmcycles command might be deprecated in the future.
Flags
Item | Description |
---|---|
-d | Displays the decrementer in MHz and nanoseconds per tick. |
-m | Displays the speed of each of the processors. |
Security
Attention RBAC users and Trusted AIX® users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.
Examples
- To display the processor speed, type:
Output similar to the following appears:pmcycles
This machine runs at 133 MHz
- To display each processor speed, type:
Output similar to the following appears:pmcycles -m
Cpu 0 runs at 200 MHz CPU 1 runs at 200 MHz