Monday, April 23, 2012

UNIX: Find Out the Server Model

How do I find out my UNIX server model? What is my UNIX server model?

To display hardware (server or workstation) model information under UNIX use the following command.

HP-UX UNIX Command

The model command displays the machine hardware model. It may also display the manufacturer, product names, or other information:
# model
Sample outputs:
ia64 hp server g4000
Please note that /usr/bin/arch -k provides the same information:
# /usr/bin/arch -k

machinfo Command: Print Machine Information

The machinfo command displays information about the machine such as system processors, firmware revisions, and amount of memory on the system. This output consists of the HP-UX operating system's view of the system configuration, as opposed to the entire physical hardware platform. The information about processors and memory reflects the configuration of the physical or virtual partition:
# machinfo

Sun / Oracle Solaris UNIX Command

The prtconf command provides the same info as model command under Sun Solaris UNIX, enter:
# prtconf
If you are using an UltraSparc, try:
# /usr/platform/sun4u/sbin/prtdiag -v
Please note that the prtdiag command displays system configuration and diagnostic information on sun4u, sun4v, and x86 systems only. The psrinfo command displays information about processors, enter:
# psrinfo

AIX UNIX Command

You need to run the prtconf command as follows:
# prtconf
To find out if the hardware is 32-bit or 64-bit, enter:
# bootinfo -y
You can also use the lscfg command to displays configuration, diagnostic, and vital product data (VPD) information about the IBM AIX UNIX system, enter:
# lscfg
The uname -M command can displays the system model name:
# uname -M

No comments:

Post a Comment