Questions tagged [lspci]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
9k views

DELL ESXI host crashes - How to figure out faulty hardware

I have a ESXI host that has crashed several times due to hardware issues. Every time in the logs I see: A bus fatal error was detected on a component at bus 64 device 2 function 0. A bus fatal error ...
user avatar
1 vote
1 answer
206 views

PCI addresses of 2 network ports differ only in "device function" field => they belong to the same NIC?

I have multiple 10G ethernet ports on my server. Here is lspci for some of them: 81:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) 81:00.1 ...
user avatar
  • 163
1 vote
3 answers
1k views

linux scsi physical topology

Is there any way to find the physical topology of a drive on the SCSI bus in linux? here's an example: >: for drive in $(find /dev/disk/by-path -name \*0|sort); do udevadm info --query=path --...
user avatar
3 votes
0 answers
3k views

Can I Intentionally Disable PCIe Lanes? Or lower PCIe Width?

I am doing some testing on my server and want to lower the width to my PCIe device (or its PCIe bridge). In case it is relevant, I figured out how to lower my speed based on the PCI Spec with Linux'...
user avatar
4 votes
2 answers
2k views

Map PCIe slot number (or BDF) to device number or vice versa

Is there any way to know the drive number from BDF or slot number of a PCIe or vice versa? Suppose I have four PCIe drives attached to my system. And I know their BDF's, I want to know each of the ...
user avatar
  • 41
2 votes
2 answers
2k views

How to detect ethernet uplink speed on CentOS 6 OpenVZ VPS

I recently purchased a VPS which was advertised as a 100Mbps uplink but the promotion promised a free upgrade to a 1Gbps uplink. I'm trying to find out if I received the upgrade with various methods ...
user avatar
  • 161
0 votes
4 answers
246 views

List all devices of system [closed]

In my understanding linux can list only those devices which it can understand, i.e. for which the drivers have been installed. I think lspci is the command for that. But how can one figure out if ...
user avatar
0 votes
1 answer
956 views

Taking BusID output from lspci and storing in a variable

I am trying to get the BusID's of each video card stored in a server and putting them in a variable each to be used for an input to a simple find and replace perl script. How would I go about getting ...
user avatar
  • 233
5 votes
7 answers
13k views

I want to inventory the hardware of my Linux systems using only ssh on the client end

They are a mix of Red Hat and CentOS 5.x, I'd like to have something on one host that can check basics like cpu/mem/disk hardware, Model, HW RAID controllers, etc would be nice. I have key based ssh ...
user avatar