UNIX: Find Out the Server Model

by on May 20, 2011 · 5 comments· LAST UPDATED May 20, 2011

in

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

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 5 comments… read them below or add one }

1 Louise May 27, 2011 at 10:02 pm

Short and sweet tip, thank you much!

Reply

2 SALIM June 8, 2011 at 9:50 am

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

Reply

3 nixCraft June 8, 2011 at 11:50 am

Try find command.

find / -name ".Profile-EIS"

Reply

4 SALIM June 8, 2011 at 2:23 pm

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

Reply

5 Venkatesh October 29, 2012 at 5:40 am

thanks for sharing this info. very useful

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: