Display System and Hardware Details in Debian 10 - How to do it ?

Every computer system has certain specifications that you may need to look at while doing system configurations, installing certain applications on it, sharing the specifications with someone else, or even changing any component of your computer system. 

There are some different ways through which you can find the specific system details that you want in every operating system.

Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform Linux System related queries.

In this context, we shall look into methods of displaying system details in Debian 10.


How to display System Details in Debian 10 ?

There are two basic methods of displaying the system details in Debian 10 which are listed below. 

The first method shows all the system details at once whereas in the second method, we will explain to you the ways in which you can query for specific system details separately.

1. Displaying all System Details in one Glance

To have a look at all the system details in Debian 10 at once, you need to run the following command in your terminal:

uname –a

The summary of all the system details will be displayed.


2. Displaying Specific System Details Separately

For displaying specific system details in Debian 10 separately, you can follow the ways listed below:

i. Displaying Kernel Name of your System with the "uname" Command:

The simple "uname" command can be used with different flags to display specific system details. However, this command can also be run without any flags in the following manner:

uname

Running this command without any flags will display the kernel name of your system.


ii. Displaying Kernel Name of your System with the "-s" Flag:

There is also a dedicated flag for displaying the kernel name of your system which can be used in the following manner:

uname –s

This will display the kernel name of the system.


iii. Displaying the Version of your Kernel:

If you want your kernel version to be displayed on your Debian 10 terminal, then you can use the "-v" flag in the following manner:

uname –v 

This command will display the version of the system kernel.


iv. Displaying the Release Number of your Kernel:

If you want your kernel release number to be displayed on your Debian 10 terminal, then you can use the "-r" flag in the following manner:

uname –r

This will display the release number of the system kernel.


v. Displaying the Hostname of your Network Node:

If you wish to check the hostname of your network node on your Debian 10 terminal, then you can use the "–nodename" flag in the following manner:

uname --nodename

This will display the hostname of the network node.


vi. Displaying the Processor Type:

You can even check your processor type on your Debian 10 terminal by using the "-p" flag in the following manner:

uname –p

vii. Displaying the Name of your Machine Hardware:

You can also check the name (make/model) of the hardware of your machine by using the "–m" flag in the following manner:

uname --m

This will display the name of the machine's hardware.


viii. Displaying the Operating System of your Machine:

If you want to check which operating system you are running on your machine, then you can use the "-o" flag in the following manner:

uname –o

This will display the operating system running on the machine.


ix. Displaying the Hardware Platform of your Machine:

You can even check the hardware platform of your machine by using the "-i" flag in the following manner:

uname –i


3. How to display Hardware Details in Debian 10 ?

Here, you will learn the methods of displaying some other helpful Debian 10 system statistics.

i. Displaying the Hardware Related Statistics:

If you wish to display all the hardware related statistics on your terminal, then you need to install the "lshw" utility on your Debian 10 system by running the following command:

sudo apt-get install lshw

After installation of the utility, you can use it to display our hardware related statistics in the following manner:

sudo lshw

This will display the hardware-related statistics of your Debian 10 system.


ii. Displaying a Summary of Hardware Related Statistics:

You can see from the output of the simple "lshw" command that it is too lengthy to be understood in one glance. 

Therefore, you can even display a summary of all your hardware-related statistics in the following manner:

sudo lshw –short

This will display the summary of the hardware related statistics of your Debian 10 system.


How to save the Hardware Related Statistics to an HTML File ?

If you have to frequently access your hardware-related statistics, then you can even save them in an HTML file so that you can simply access this file whenever you want to view your hardware-related statistics. 

To save your hardware statistics to an HTML file, you should run the following command in the terminal:

sudo lshw –html > HardwareInfo. html

After running this command, the HardwareInfo.html file will be stored in your Home directory. 

Therefore, whenever you want to access this file, you simply need to head on to the Home directory of your Debian 10 system and double click on this file to access it. 


How to display all the CPU Related Information ?

You can even view all your CPU related information on the terminal such as the processor, frequency, model, number of cores, etc. 

This can be done by displaying the contents of the /proc/cpuinfo file on the terminal in the following manner:

cat /proc/cpuinfo

This will display the CPU related information of the Debian 10 system.


How to display Hard Drive Related Information ?

If you want to check the hard drive related information of your Debian 10 system such as its partitioning, size, mounting information, etc. then you will have to run the following command:

lsblk

This will display the hard drive related information of your Debian 10 system.


How to display the Architecture of your Debian 10 System ?

We can even check out the architecture of our Debian 10 system by running the following command:

dpkg --print-achitecture

This will display the architecture of the system which is amd64 in our case.


How to check if Virtualization is Enabled on the Debian 10 System or not ?

There are some devices that support virtualization whereas others do not. Therefore if you want to perform any task on your Debian 10 system that involves virtualization, then you first need to ensure that it is supported by your hardware and enabled on it. 

To check if virtualization is enabled on our Debian 10 system, we can run the following command:

lscpu

Since virtualization was supported by our Debian 10 system and was also enabled, therefore, its type is displayed in the output of this command.


How to display all the Motherboard Related Information ?

Finally, you can even view all the information that is specific to the motherboard of your system such as manufacturer, version, serial number, etc. 

To do this in Debian 10, you have to run the following command in your terminal:

sudo dmidecode –t 2

This will display the motherboard related information of the system.


[Need urgent assistance to install Software on Ubuntu Server? We are available to help you today. ]

This article will guide you how to display the system details in your Debian 10 system.

The uname command Displays the operating system name as well as the system node name, operating system release, operating system version, hardware name, and processor type. 

To Check os version in Linux:

1. Open the terminal application (bash shell).

2. For remote server login using the ssh: ssh user@server-name.

3. Type any one of the following command to find os name and version in Linux: cat /etc/os-release. lsb_release -a. hostnamectl.

4. Type the following command to find Linux kernel version: uname -r.


Commands to Check Hardware Information on Linux:

i. lscpu. The lscpu command reports information about the cpu and processing units.

ii. lshw - List Hardware. will give you a very comprehensive list of hardware and settings.

iii. hwinfo - Hardware Information.

iv. lspci - List PCI. will show you most of your hardware in a nice quick way.

v. lsscsi - List scsi devices.

vi. lsusb - List usb buses and device details.

vii. Inxi.

viii. lsblk - List block devices.

Related Posts