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

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 5 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
5 comments… add one
  • Louise May 27, 2011 @ 22:02

    Short and sweet tip, thank you much!

  • SALIM Jun 8, 2011 @ 9:50

    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

    • 🐧 nixCraft Jun 8, 2011 @ 11:50

      Try find command.

      find / -name ".Profile-EIS"
  • SALIM Jun 8, 2011 @ 14:23

    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

  • Venkatesh Oct 29, 2012 @ 5:40

    thanks for sharing this info. very useful

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum