HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

ia64 hp-ux 11.31 need system config

 
SOLVED
Go to solution
chisle
Advisor

ia64 hp-ux 11.31 need system config

we have been running:

echo 'echo itick_per_usec/D'|adb -k /stand/vmunix /dev/mem

to obtain the cpu clock speed on our PA-RISK systems. However, that won't work with this version of adb on 11.31, and probably not with this architecture.

i realize that 'machinfo' provides this information, but it is heavily formatted.

How can I find just the values of the following on an ia64 system running 11.31?

memory (amount)
cpu quantity
cpu speed
serial number

Like I said, you can get it human-readable from 'machinfo,' but to program around that output could be a little too much fun, so if you have a quick peek/poke that works, that would be good.
4 REPLIES
Bill Hassell
Honored Contributor
Solution

Re: ia64 hp-ux 11.31 need system config

Two commands will get you the info:

# print_manifest | grep -e Memory -e Processor
Main Memory: 8171 MB
Proccesor(0) Speed: 399 MHz
Proccesor(1) Speed: 399 MHz

# getconf MACHINE_SERIAL
USE0808AEN

print_manifest is part of the Ignite-UX package. If it isn't on all your HP-UX systems, download it immediately from:

http://h71028.www7.hp.com/enterprise/w1/en/os/hpux11i-system-management-ignite-ux.html?jumpid=ex_r1533_us/en/large/tsg/go_ignite-ux


Bill Hassell, sysadmin

Re: ia64 hp-ux 11.31 need system config

>but to program around that output could be a little too much fun

It's pretty simple with awk. You select some keyword on the line the print the field number:
awk '/keyword/ {print "field 5", $5 }'
muruganantham raju
Valued Contributor

Re: ia64 hp-ux 11.31 need system config

Hi Erik,
Its pretty easy to get only the required information from machinfo. The following grep would do.

machinfo | egrep "Memory: | Machine serial number: | processors "

HTH
Muru

chisle
Advisor

Re: ia64 hp-ux 11.31 need system config

yep, got it, folks. I was hoping to get something a little more peek/pokey, and the closest response was the first one. The others work well too.

In either case, I've got what I need, now. thank you all so much!