UNIX: Find Out the Server Model

You can find out the model of a UNIX server using the following methods:

  1. Using the “uname” command:
uname -a

This command will display information about the system, including the machine hardware name. For example, the output might look something like this:

Linux hostname 4.4.0-1060-aws #70-Ubuntu SMP Wed Jan 8 22:42:53 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

The machine hardware name in this case is “x86_64.”

  1. Using the “lshw” command:
sudo lshw

This command will display detailed information about the hardware configuration of the system. You can use the following command to filter the output and only display information about the system:

sudo lshw -short | grep system

The output will include the model name of the system, for example:

/0/0 system ProLiant DL380 G6
  1. Using the “dmidecode” command:
sudo dmidecode -s system-product-name

This command will display the product name of the system, which is often the model name.

These are the most common methods for finding the model of a UNIX server. The exact method that you use may depend on the type of UNIX system that you are using and the specific hardware configuration of your server.

Leave a Comment