lspci 收集log

2022-05-20  本文已影响0人  薛东弗斯


dmesg -c

dmesg 


#!/bin/bash

while true

do

lspci -s 00:02.0 -xxxx >> $(pwd)/pci.log

lspci -s 02:00.0 -xxxx >> $(pwd)/pci.log

lspci -s 04:00.0 -xxxx >> $(pwd)/pci.log

lspci -s 04:00.1 -xxxx >> $(pwd)/pci.log

lspci -s 04:00.2 -xxxx >> $(pwd)/pci.log

lspci -s 04:00.3 -xxxx >> $(pwd)/pci.log

lspci -s 05:00.0 -xxxx >> $(pwd)/pci.log

lspci -s 06:00.0 -xxxx >> $(pwd)/pci.log

echo "---------------------------------"

done

上一篇 下一篇

猜你喜欢

热点阅读