美文网首页
lspci 收集log

lspci 收集log

作者: 薛东弗斯 | 来源:发表于2022-05-20 08:52 被阅读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

相关文章

网友评论

      本文标题:lspci 收集log

      本文链接:https://www.haomeiwen.com/subject/xjjyurtx.html