Advertisement
scarbo

Bernard Schoenacker_architecture

May 17th, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.63 KB | None | 0 0
  1. [scarbo@pc13 ~]$ lspci >out.txt
  2. [scarbo@pc13 ~]$ lspci >out.txt cat /proc/cpuinfo >> out.txt
  3. Usage: lspci [<switches>]
  4.  
  5. Basic display modes:
  6. -mm     Produce machine-readable output (single -m for an obsolete format)
  7. -t      Show bus tree
  8.  
  9. Display options:
  10. -v      Be verbose (-vv for very verbose)
  11. -k      Show kernel drivers handling each device
  12. -x      Show hex-dump of the standard part of the config space
  13. -xxx        Show hex-dump of the whole config space (dangerous; root only)
  14. -xxxx       Show hex-dump of the 4096-byte extended config space (root only)
  15. -b      Bus-centric view (addresses and IRQ's as seen by the bus)
  16. -D      Always show domain numbers
  17.  
  18. Resolving of device ID's to names:
  19. -n      Show numeric ID's
  20. -nn     Show both textual and numeric ID's (names & numbers)
  21. -q      Query the PCI ID database for unknown ID's via DNS
  22. -qq     As above, but re-query locally cached entries
  23. -Q      Query the PCI ID database for all ID's via DNS
  24.  
  25. Selection of devices:
  26. -s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]   Show only devices in selected slots
  27. -d [<vendor>]:[<device>][:<class>]      Show only devices with specified ID's
  28.  
  29. Other options:
  30. -i <file>   Use specified ID database instead of /usr/share/hwdata/pci.ids
  31. -p <file>   Look up kernel modules in a given file instead of default modules.pcimap
  32. -M      Enable `bus mapping' mode (dangerous; root only)
  33.  
  34. PCI access options:
  35. -A <method> Use the specified PCI access method (see `-A help' for a list)
  36. -O <par>=<val>  Set PCI access parameter (see `-O help' for a list)
  37. -G      Enable PCI access debugging
  38. -H <mode>   Use direct hardware access (<mode> = 1 or 2)
  39. -F <file>   Read PCI configuration dump from a given file
  40. [scarbo@pc13 ~]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement