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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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.