Operating System - HP-UX
1825747 Members
2383 Online
109687 Solutions
New Discussion

Re: HP architecture / settings

 
Jaideep Krishnan
Frequent Advisor

HP architecture / settings


Are there any tools for listing the primary comparison (Kernal/other settings) of two HP-UX machines, besides the following :

*********************************
ulimit -Sa
ulimit -Ha
/usr/sbin/swapinfo
cat /stand/system
kmtune
cat /etc/nsswitch.conf
cat /etc/resolv.conf
*********************************

Also, what command would indicate the CPU architecture. E.g., PARISC2.0 (or) PARISC1.1

Please indicate.

Thanks,

Jaideep
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: HP architecture / settings

Jaideep,

# file /stand/vmunix
vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)

http://mirrors.develooper.com/hpux/faq.html

Regards,
Robert-Jan
Pete Randall
Outstanding Contributor

Re: HP architecture / settings

MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')

echo $MODEL


Pete

Pete
Bill Hassell
Honored Contributor

Re: HP architecture / settings

The question is not well defined. Technically, if you need to look at the differences between two machines, you start with hardware listings using cstm as in:

echo 'selclass qualifier all;info;wait;infolog' | /usr/sbin/cstm

If cstm is not found, stop immediately and download the online diagnostics and monitoring software from:
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6191AAE

This will list all the hardware details including firmware revs, etc. To see just the processor details:

echo "selclass qualifier cpu;info;wait;infolog" | /usr/sbin/cstm

At the end of the listing is the processor model (ie, PA 8600). All processors PA-8000 or higher are PA 2.0 and are 64bit capable. PA-7xxx are PA 1.1 and cannot run a 64bit operating system.

For software, the list is extensive. Basically, EVERYTHING in /etc is for configuration, including subdirectories. For instance, one machine may have /etc/defaults/security and the other does not. Also check the entire contents of /tcb (the security and authentication directory for Trusted systems).

Then there's standard software installation found with: swlist -l product
Probably the most siginifcant differences here will be patches.

And non-standard installs in /usr/contrib and /usr/local.

The ulimit values are unique to each user because they can be changed in local profiles. If this is of interest, then profiles for each user should be compared.


Bill Hassell, sysadmin
Geoff Wild
Honored Contributor

Re: HP architecture / settings

And if they are cell based systems, you can use the parstatus command - example - on a rp7410:

cell 0:

parstatus -V -c 0

and cell 1:

parstatus -V -c 1

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.