How to find out system information on Linux

Not all users remember the components of your computer, as well as other system details, so the possibility of viewing the system information in the OS must be present. Platforms, is written in Linux, too, have such funds. Next, we will try to elaborate on the methods available to view the necessary information, taking as an example the latest version of the popular Ubuntu OS. In other distributions of Linux this procedure may be carried out in exactly the same way.

Look at the system information in Linux

Today, we offer two different methods of finding the necessary system information. They both work in slightly different algorithms, and have different concept. Because of this, each variant would be most useful to different users.

Method 1: Hardinfo

Method using Hardinfo program perfect for novice users and those who do not want to reach work in “Terminal”. Still, even the installation of additional software is not complete without the launch of the console, so you’ll have to contact her for one team.

  • Run “Terminal” and type there the command sudo apt install hardinfo.
  • Enter the password to confirm root access (the characters shown will not).
  • Confirm adding new files by selecting the appropriate option.
  • You only have to run the program via the command hardinfo.
  • Now open the graphics window divided into two panels. On the left you see the category with information about the system users and the computer. Select any partition and right will be a summary of all data.
  • With the button “Create report” you can save a copy of the information in any convenient form.
  • For example, the file will be in HTML format and then easily opened using a standard browser, a text version showing PC features.
  • As you can see, Hardinfo is a kind of Assembly of all commands from the console, implemented through the GUI. Therefore, this method greatly simplifies and speeds up the procedure of finding the right information.

    Method 2: Terminal

    Built in to Ubuntu the console provides unlimited opportunities for the user. With commands, you can perform actions with programs, files, control system, and more. There are tools allowing to find information of interest via “Terminal”. Consider everything in order.

  • Open the menu and start the console, also you can do it by holding the key combination Ctrl + Alt + T.
  • Enough to start write the command hostnameand then press Enterto display the account name.
  • Laptop users also often associated with the need to determine the serial number or the exact model of your device. Help to find the information you need three commands:

    sudo dmidecode -s system-serial-number
    sudo dmidecode -s system-manufacturer
    sudo dmidecode -s system-product-name

  • To collect information about all the connected equipment can not do without additional tools. It can be installed by entering sudo apt-get install procinfo.
  • At the end of setup write sudo lsdev.
  • After a short scan you will receive a list of all active devices.
  • As for the model of the CPU and other data, here easiest way to use cat /proc/cpuinfo. You will immediately receive all the necessary information.
  • Now let’s move to another very important detail — the RAM. To determine the amount of free and used space will help less /proc/meminfo. Immediately after entering the command you will see the relevant lines in console.
  • More concise information is provided as follows:
    • free-m is memory in megabytes;
    • free-g — gigabytes;
    • free-h — in a simplified readable format.
  • The paging file is responsible swapon -s. You will be able to learn not only about the existence of such a file, but also see its volume.
  • If you are interested in the current version of Ubuntu, use the command lsb_release -a. You will get the information about version and learn a code name and a description.
  • However, there are additional commands to get more detailed information about the operating system. For example, uname-r displays the kernel version, uname-p the architecture, and uname-a — General information.
  • List lsblkto see a list of all connected hard drives and active partition. In addition, displays the summary of their volumes.
  • To study in detail the layout of the disk (amount of sectors, their size and type), you should write sudo fdisk /dev/sda, where sda is the selected drive.
  • Usually to the computer, connect additional devices via available USB ports or through Bluetooth technology. View all available devices, their number and identifier is performed using lsusb.
  • Write lspci | grep-i vga or lspci-vvnn | grep VGAto display summary information about active graphics driver and used the graphics card.
  • Of course, this is a list of all available commands does not end, however, above we have tried to talk about the most basic and useful that can be useful for an ordinary user. If you are interested in options for obtaining specific data about the system or the computer, refer to the official documentation of the distribution.

    You can choose the most suitable method of searching your system information is to use a classic console, or contact the program with an implemented graphical user interface. If your Linux distribution have any issues with the software or commands, carefully read the error and find the solution or hints in the official documentation.


    (Visited 71 times, 1 visits today)