Advertisement
Querzion

commands

Nov 14th, 2021 (edited)
1,096
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.08 KB | None | 0 0
  1. ### KERNEL
  2. uname -srm
  3. hostnamectl
  4.  
  5. ### KERNEL DRIVERS
  6. lspci -knn
  7.  
  8. ### KERNEL INFORMATION
  9. lspci -vvv
  10.  
  11. ### IOMMU
  12. sudo dmesg | grep IOMMU
  13. sudo dmesg | grep -i -e DMAR -e IOMMU
  14.  
  15. ### IOMMU GROUPED
  16. #!/bin/bash
  17. shopt -s nullglob
  18. for g in find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V; do
  19.     echo "IOMMU Group ${g##/}:"
  20.     for d in $g/devices/; do
  21.         echo -e “\t$(lspci -nns ${d##*/})
  22.     done;
  23. done;
  24.  
  25. ### VIRTUALISATION
  26. LC_ALL=C lscpu | grep Virtualization
  27.  
  28. ### VIRTUALBOX
  29. sudo lsmod | grep vboxdrv
  30.  
  31. ### LIBVIRT
  32. # sudo systemctl stop libvirtd.service
  33. # sudo systemctl disable libvirtd.service
  34. sudo systemctl enable libvirtd.service
  35. sudo systemctl start libvirtd.service
  36. # sudo systemctl restart libvirtd.service
  37. sudo systemctl status libvirtd.service
  38.  
  39. ### VIRTLOGD
  40. # sudo systemctl stop virtlogd.socket
  41. # sudo systemctl disable virtlogd.socket
  42. sudo systemctl enable virtlogd.socket
  43. sudo systemctl start virtlogd.socket
  44. # sudo systemctl restart virtlogd.socket
  45. sudo systemctl status virtlogd.socket
  46.  
  47. ### PCIe VGA/AUDIO
  48. lspci -nn | grep -iP “VGA|audio”
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement