From 55110c80f480ba7081af16b43447b92ad295e488 Mon Sep 17 00:00:00 2001 From: Runar Borge Date: Thu, 7 Jun 2018 23:47:41 +0200 Subject: T689: Convert show hardware to new syntax "show hardware pci detailed" renamed to "show hardware pci detail" to follow the syntax of other commands --- op-mode-definitions/show-hardware.xml | 95 +++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 op-mode-definitions/show-hardware.xml (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-hardware.xml b/op-mode-definitions/show-hardware.xml new file mode 100644 index 000000000..1339b9110 --- /dev/null +++ b/op-mode-definitions/show-hardware.xml @@ -0,0 +1,95 @@ + + + + + + + Show system hardware details + + + + + Show CPU info + + lscpu + + + + Show system CPU details + + less $_vyatta_less_options --prompt='.cpu info' -- /proc/cpuinfo + + + + Show CPU's on system + + ${vyatta_bindir}/vyatta-cpu-summary.pl + + + + + + + Show system DMI details + + ${vyatta_bindir}/vyatta-show-dmi + + + + + Show system RAM details + + less $_vyatta_less_options --prompt='.mem info' -- /proc/meminfo + + + + + Show system PCI bus details + + lspci + + + + Show verbose system PCI bus details + + lspci -vvv + + + + + + + + Show SCSI device information + + lsscsi + + + + Show detailed SCSI device information + + lsscsi -vvv + + + + + + + Show peripherals connected to the USB bus + + lsusb + + + + Show detailed USB bus information + + lsusb -v + + + + + + + + + -- cgit v1.2.3