UNIX: Find Out the Server Model

Posted on in Categories last updated May 20, 2011

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

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

5 comment

  1. hi every one

    sorry for asking defferent qustions

    where can i find .profile-EIS file in solaris 10 X86
    i didnt find in this locations given below
    /etc/.Profile-EIS
    //.profile-EIS

  2. i did this before nothing found.

    need we to add pakkage for profile-EIS file . i googled it .. i didnt get any usefull documentaion on .profile.EIS

    i need to change my default shell in unix to bash with username and hostname
    in bash i can username and hostname using PS1
    in sh i cannot add . at last i found our Server .profile-EIS file using their deafult profile for root

Leave a Comment