Is there any built-in software or terminal method allowing me to view the hardware profiles on my system? Windows equivalent of such a feature would be Device Manager.
Is there any built-in software or terminal method allowing me to view the hardware profiles on my system? Windows equivalent of such a feature would be Device Manager.
There are a few options:
lspci
will show you most of your hardware in a nice quick way. It has varying levels of verbosity so you can get more information out of it with-v
and-vv
flags if you want it. The-k
argument is a good way to find out which kernel driver a piece of hardware is using.-nn
will let you simply know the hardware ID which is great for searching.But it is only a very simple, quick way of getting a list of hardware. I often ask people to post the output of it here when trying to identify their wireless hardware. It's great for things like that.
It doesn't show USB hardware other than the USB busses.
Here are three real world examples:
Graphics:
Audio:
Networking:
lsusb
is likelspci
but for USB devices. Similar functionality with similar verbosity options. Good if you want to know what's plugged in.sudo lshw
will give you a very comprehensive list of hardware and settings.It gives you so much information, I suggest you pipe it through
less
or output it to a file and open that in something you can move around in:Of course this is usually a lot of information. You often only need info on a small subset of your hardware and
lshw
will let you select a category. If you just wanted to see your network devices, for example, run this:If you want something graphical, I suggest you look at
hardinfo
. You'll need to install it first:You then just run it from the same terminal with
hardinfo
. I don't know that it has a menu location by default.But it can give you slightly more information (boots, available kernels, etc) than the other options, as well as giving you similar lists of PCI and USB hardware like the first two commands.
It also provides some simple benchmarking. I think the developers aim to make it a replacement for Sandra (a popular Windows hardware information gathering tool).
It even has options to output a nice report that you can send to somebody (though it can easily be too much information).
You can use lshw which is CLI tool:
sudo lshw
as the man page says:
You can also use HardInfo:
Install it by running this command:
sudo apt-get install hardinfo
or look for hardinfo in Synaptic or Software Center.
There are several ways to gather hardware information. I will post all the possibilities I know. For further information on any of the programs please consult their man pages.
Option one -
lshw
lshw
which should be installed by default. You'll have to run it as super user (sudo).It will present a very detailed list of pretty much every component. To get a shorter list representation you can use the
-short
flag.You can make it output the information in several ways.
Option two -
hwinfo
(needs install)hwinfo
which you'd have to install. It is in the repositories.It does also present the components in a very detailed fashion. Here the
--short
flag will give you a nice hardware category sorted list.With the
--[hwtype]
option you can get detailed information about a selected hardware type only, which is quite handy sometimes.I don't know of any one-in-all solution to dis/enable hardware or drivers. Drivers generally are kernel modules which you can enable (add) and disable (remove) using the
modprobe
command.Using
lsmod
you can find out which modules are currently loaded.lshw is a very good command that tells you a very detailed information of your hardware. If you don't want to install something else like hardinfo then it will be very good command. But use lshw (you can say list hardware to remember this command) with -html or -xml options to get the information in more interactive way.
Here it illustrates
Now just open .html or .xml files created in your current directory to get a complete description of your hardware.
lspci
- PCI hardwarelsusb, lspcmcia, lshw, lshw-gtk
dmidecode
-information about your system's hardware as described in system BIOSkinfocenter
cat /proc/cpuinfo
NeoFetch is a nice command line solution for high level information (if running Ubuntu 14.04 or higher).
To install you need to add the PPA first:
Then install:
Then run:
Update:
neofetch is available in the Universe repository since 18.04.
A convenient way to present neofetch data is to use
neofetch --stdout
. This command produces output in plain text that can be copy/pasted into a question or answer here without needing to upload an image.lshw
is the command, you can grep also,lshw | grep audio
for example.I don't know how you can view it in the GUI.
HardwareLiSter is a useful tool that can show you detailed info on all the hardware on your system in a nice GUI interface.
If you prefer to use a terminal try
sudo dmidecode
which will give you a very detailed list of all the hardware too.Install Sysinfo from the default Ubuntu repositories in Ubuntu 18.04 and earlier. Sysinfo is a graphical tool that is able to display some hardware and software information about the computer it is run on.
It is able to recognize information about:
20.04 and later
In Ubuntu 20.04 and later install System Profiler (
sudo apt install hardinfo
) instead of Sysinfo.Other great tools for Ubuntu are
i-nex
I-Nex is free system info tool which is used to gather information on the main system components (devices) such as CPU, motherboard, memory, video memory, sound, USB devices and so on. The application allows through a tabbed clear interface to display information about the system hardware, this utility displays significant amount of system details. I-Nex utility continues to add new functionality, this time I-Nex included GPU information tab, and other various fixes. Besides being able to display hardware information, I-Nex can also generate an advanced report for which you can select what to include and optionally send the report to a service such as Pastebin (and others). It also features an option to take a screenshot of the I-Nex window directly from the application. The difference between I-Nex and the other hardware information GUI tools available for Linux is that the information is better organized and is displayed faster (than lshw-gtk for instance). Also, the hardware information is presented in a way that's easier to understand than other such tools.
cpu-g
CPU-G is useful utility to show hardware information. It detects hardware and display details about everything, it shows information about CPU(Processor), RAM(Active/Inactive, Free, Used and cached), Motherboard and Chipset, Bios Details, Graphic card details, and details of installed Linux.
SOURCE http://www.noobslab.com/2014/01/cpuz-alternatives-inex-cpug-for-ubuntu.html