Finding GNU/Linux Distro And Architecture

Dealing with quite a few new servers recently and we can't find the original hardware specification as quoted in the invoice. While we can google for the spec based on the hardware vendor and model, however certain parts of the machine may be upgraded or replaced. To be sure, always double-check the hardware spec. To do this, we need to answer two questions.

1) What is the GNU/Linux distro and architecture of the existing server?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

$ uname -a
Linux foobar 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

2) What is the hardware specification of the server?
console output
$ sudo lshw

GUI output
$ sudo apt-get install lshw-gtk
$ sudo lshw -X

$sudo lshw-gtk

OR (if you are running Ubuntu or you boot the machine using Live CD)
System -> Preferences -> Hardware Lister

No comments:

Post a Comment