cpu speed

how do i determine the speed of a cpu on AIX 4.3.3 or 5.1?

Check the man page for lsdev

lsdev -Cc processor
may give you what you are looking for.

Im not allowed to use freeware :frowning:

but here is the output from lsedv........

lsdev -Cc processor
proc6 Available 00-06 Processor
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
proc4 Available 00-04 Processor

not sure what this means....

In AIX5L you could determinate CPU speed with command "lsattr -El proc#"

Example:

# lsattr -El proc0
state enable Processor state False
type PowerPC_POWER4 Processor type False
frequency 1300259344 Processor Speed False

In AIX versions prior that you could determinate CPU speed by using "uname -m" and reference table found from here.

--Tommy

An easier solution (I'm not sure if it works in 4.3.3 - it's been a while since I touched one) is to run the printconf | more

Here is an example result from one of my systems:
System Model: IBM,7040-681
Machine Serial Number: <serial number>
Processor Type: PowerPC_POWER4
Number Of Processors: 2
Processor Clock Speed: 1300 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 7 <machine name>
Memory Size: 2048 MB
Good Memory Size: 2048 MB
Firmware Version: IBM,RG050715_d79e12_r
Console Login: enable
Auto Restart: true
Full Core: false

prtconf |pg
Will give you a summery of your system