Академический Документы
Профессиональный Документы
Культура Документы
THEMES
LINUX DISTRO’S LINUX COMMAND’S WEBSERVER MONITORING TOOLS PACKAGE MANAGEMENT REPOSITORY
1) What’s lspci – List PCI Bus Devices -UNMATCHED OFFERS FOR LINUX USERS-
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.
GET LATEST LINUX TIPS
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.
SIGN UP NOW
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.
lspci Usage
Just run the following command to get the PCI device information.
# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma]
(rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Tri
ton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (r
ev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH Virt
ualBox Graphics Adapter
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethe
rnet Controller (rev 02)
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox G
uest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'9
7 Audio Controller (rev 01)
00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:0b.0 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (IC
H6 Family) USB2 EHCI Controller
00:0d.0 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M
-E) SATA Controller [AHCI mode] (rev 02)
# lspci -v
1
To display the subsystem information.
# lspci -m
2) What’s lsscsi – List scsi Devices
lsscsi stands for list small Computer System Interface. The lsscsi command lists
information about SCSI/Sata devices attached to the system.
0It’s scans the sysfs (mounted at /sys) pseudo file system to gather information, which
SHARES
was introduced in the 2.6 Linux kernel series.
lspci Usage
Just run the following command to get the SCSI device information.
# lsscsi
[0:2:0:0] disk IBM ServeRAID M5110e 3.24 /dev/sda
[0:2:1:0] disk IBM ServeRAID M5110e 3.24 /dev/sdb
[2:0:0:0] cd/dvd IBM SATA DEVICE 62F2642 SA82 /dev/sr0
lsusb doesn’t come stand alone utility and its part of the usbutils package.
lsusb Usage
Just run the following command to get the USB device information.
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matchi
ng Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matchi
ng Hub
Bus 002 Device 003: ID ffff:0248
Bus 002 Device 005: ID 04b3:4010 IBM Corp.
Details:
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.
lsblk Usage
Just run the following command to get the block device information.
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 81.4M 1 loop /snap/core/2898
loop1 7:1 0 8.4M 1 loop /snap/gping/13
sda 8:0 0 30G 0 disk
└─sda1 8:1 0 30G 0 part /
sr0 11:0 1 1024M 0 rom
Details:
# lsblk -m
Tags: block devices bun information Linux lsblk lspci lsscsi lsusb pci devices SCSI Devices
USB devices
pip – Easy Way To Manage Python 2 Ways To Get Color Man Pages In Linux
Packages On Linux
2daygeek.com © 2018. All Rights Reserved.
2daygeek :- Linux Tips & Tricks, Linux How-to Guides & Tutorials is licensed
under a (cc) BY-NC