Spike on IRC was commenting about how much of a pain in the arse it is to track down drivers for unknown hardware on Windows, and how easy it is under Linux using lspci. I sat and thought about it – lspci can’t possibly pluck hardware strings from nowhere, there has to be some sort of database and there is, and best of all there’s a web-based front end to it. And on windows it's look like this. Processor Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s) i could find any thing from google which could map linux equilent to windows processor information. I also followed this link: lscpu. Lspci is a really nice Linux command to list all the device info on the pci bus. This tells you exactly what chipsets are present in video, network, and audio devices. Since companies like Dell allow you to choose from a couple of different network and video options it would really help when trying to figure out how the system you're working on is configured when the system is missing drivers. Contax rts ii manual. 'lspci for Windows' - familiar lspci-like tool from Linux in both GUI and CLI form on Windows helps you find drivers for your unknown PCI devices on Windows reports devices with drivers issues.
There are many utilities available to check Linux system hardware information. Some commands report altogether like CPU, Processor, memory, storage, disk, etc,. and the rest will cover only specific hardware components like CPU or processor or memory, etc,.
In this tutorial we are going to cover about Linux System Devices Information utilities such as lspci, lsscsi, lsusb, and lsblk.
lspci:
List PCI Bus Deviceslsscsi:
List scsi Deviceslsusb:
List USB buses and devicelsblk:
List block devices
This tutorial takes a quick look at some of the most commonly used commands to check information and configuration details about various hardware devices.
1) What’s lspci – List PCI Bus Devices
lspci stands for list PCI devices. lspci command is used to display information about PCI buses in the system and hardware devices that are connected to PCI and PCI bus.
It will display information about model number/chip details for devices like PCI bridge, VGA controller, Ethernet controller, USB controller, Audio device, IDE interface, etc,.,
lspci doesn’t come stand alone utility and its part of the pciutils package.
By default, it shows a brief list of devices which are attached in the system, so filter out specific device information with grep for better view.
How to install lspci
pciutils is available in distribution official repository so, we can easily install through distribution package manager.
The jungle book pdf with pictures. For
Debian/Ubuntu
, use apt-get command or apt command to install pciutils.For
RHEL/CentOS
, use YUM Command to install pciutils.For
Fedora
, use dnf command to install pciutils.For
Arch Linux
, use pacman command to install pciutils.For
openSUSE
, use Zypper Command to install pciutils.lspci Usage
Lspci On Windows 7
Just run the following command to get the PCI device information.
To display the detailed information of all the PCI devices
To display the subsystem information.
2) What’s lsscsi – List scsi Devices
Free online sheet music. lsscsi stands for list small Computer System Interface. The lsscsi command lists information about SCSI/Sata devices attached to the system.
It’s scans the sysfs (mounted at /sys) pseudo file system to gather information, which was introduced in the 2.6 Linux kernel series.
How to install lsscsi
lsscsi is available in distribution official repository so, we can easily install through distribution package manager.
For
Debian/Ubuntu
, use apt-get command or apt command to install lsscsi.For
RHEL/CentOS
, use YUM command to install lsscsi.For
Fedora
, use dnf command to install lsscsi.For
Arch Linux
, use pacman command to install lsscsi.For
openSUSE
, use Zypper Command to install lsscsi.lspci Usage
Lspci Windows Xp
Just run the following command to get the SCSI device information.
3) What’s lsusb – List USB buses and device
lsusb stands for list Universal Serial Bus or USB. It’s display information about USB buses in the system and the devices connected to them. This will display a list of all USB devices connected to your computer such as keyboards, mouse, printers, disk drives, network adapters, etc.,.
lsusb doesn’t come stand alone utility and its part of the usbutils package.
How to install lsusb
lsusb is available in distribution official repository so, we can easily install through distribution package manager.
For
Debian/Ubuntu
, use apt-get command or apt command to install lsusb.For
RHEL/CentOS
, use YUM command to install lsusb.For
Fedora
, use dnf command to install lsusb.For
Arch Linux
, use pacman command to install lsusb.For
openSUSE
, use Zypper Command to install lsusb.lsusb Usage
Just run the following command to get the USB device information.
Details:
Bus 002:
Which bus the device is attachedDevice 005:
It’s attached as fifth deviceID 04b3:4010:
It’s device identification numberIBM Corp:
Manufacture Name
4) What’s lsblk – List block devices
Lspci On Windows 6
lsblk stands for list block devices. It’s display information about block devices (except RAM disks). Block devices are hard disk partition, flash drives, CD-ROM, optical drives, etc,.
lsblk is part of the util-linux package. It’s collection of basic system utilities that contains a large variety of low-level system utilities that are necessary for a Linux system to function.
How to install lsblk
lsblk is available in distribution official repository so, we can easily install through distribution package manager.
For
Debian/Ubuntu
, use apt-get command or apt command to install lsblk.For
RHEL/CentOS
, use YUM command to install lsblk.Lspci On Windows 8
For
Fedora
, use dnf command to install lsblk.For
Arch Linux
, use pacman command to install lsblk.For
openSUSE
, use Zypper Command to install lsblk.lsblk Usage
Just run the following command to get the block device information.
Details:
NAME:
Device Name listed hereMAJ:MIN:
Shows major and minor device numberRM:
Shows whether the device is removable or notSIZE:
Dispaly size of the deviceRO:
Display if the device is read-onlyTYPE:
Display about device type such as disk, partition, lvm, etc.,MOUNTPOINT:
Dispaly where the device is mounted
To List Device Permissions and Owner information.
Active2 months ago
When running lscpu on rhel:
and on windows it's look like this
i could find any thing from google which could map linux equilent to windows processor information.
I also followed this link: lscpu
I am writing a script to get the cpu(s)/processor(s) information on widnows and linux as well. But I need to make sure, that for both fields are mapped properly.
Am_I_Helpful16.1k77 gold badges3535 silver badges5959 bronze badges
vickyvicky47722 gold badges1414 silver badges4141 bronze badges
1 Answer
I realize that this is an older question, but I wanted to expand on the existing comments since I was looking for a solution to this as well, and I found something after some digging.
Using
wmic cpu list /format:list
will provide a key value pair columnar list. Other formats like html table and csv are available. https://www.petri.com/command-line-wmi-part-3 provides a good overview of the formatting options and other wmic
switches availablejdatajdata