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.
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.
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.
For displaying specific system details in Debian 10 separately, you can follow the ways listed below:
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.
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.
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.
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.
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.
You can even check your processor type on your Debian 10 terminal by using the "-p" flag in the following manner:
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.
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.
You can even check the hardware platform of your machine by using the "-i" flag in the following manner:
Here, you will learn the methods of displaying some other helpful Debian 10 system 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.
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.
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.
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.
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.
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.
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.
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.
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.
viii. lsblk - List block devices.