how many pci slots (ref_1)[#ref#1]

dmidecode -t 9 | grep "System Slot Information" | wc -l

ref

  • :1: https://unix.stackexchange.com/questions/191314/can-i-see-the-number-of-pci-slots-with-a-command