From b5cc8f4ae4178761d64c3e01e133c79219c2d756 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 7 Jun 2020 16:31:30 +0200 Subject: usb: op-mode: T2560: display USB interface information vyos@vyos:~$ show system usb /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 3: Dev 4, If 0, Class=Vendor Specific Class, Driver=qcserial, 480M |__ Port 3: Dev 4, If 2, Class=Vendor Specific Class, Driver=qcserial, 480M |__ Port 3: Dev 4, If 3, Class=Vendor Specific Class, Driver=qcserial, 480M |__ Port 3: Dev 4, If 8, Class=Vendor Specific Class, Driver=qmi_wwan, 480M vyos@vyos:~$ show system usb serial No USB to serial converter connected vyos@vyos:~$ show system usb serial Device Model Vendor ------ ------ ------ usb0b1.3.3.4p1.0 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.3.4p1.1 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.3.4p1.2 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.3.4p1.3 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.4p1.0 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.4p1.1 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.4p1.2 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3.4p1.3 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.3p1.0 MC7710 Sierra Wireless, Inc. usb0b1.3p1.2 MC7710 Sierra Wireless, Inc. usb0b1.3p1.3 MC7710 Sierra Wireless, Inc. usb0b1.4p1.0 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.4p1.1 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.4p1.2 Quad_RS232-HS Future Technology Devices International, Ltd usb0b1.4p1.3 Quad_RS232-HS Future Technology Devices International, Ltd --- op-mode-definitions/show-system-info.xml | 174 ------------------------------- 1 file changed, 174 deletions(-) delete mode 100644 op-mode-definitions/show-system-info.xml (limited to 'op-mode-definitions/show-system-info.xml') diff --git a/op-mode-definitions/show-system-info.xml b/op-mode-definitions/show-system-info.xml deleted file mode 100644 index 61c947bbe..000000000 --- a/op-mode-definitions/show-system-info.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - Show system information - - - - - - Show active network connections on the system - - netstat -an - - - - Show TCP connection information - - ss -t -r - - - - Show all TCP connections - - ss -t -a - - - - Show TCP connection without resolving names - - ss -t -n - - - - - - Show UDP socket information - - ss -u -a -r - - - - Show UDP socket information without resolving names - - ss -u -a -n - - - - - - - - - Checks overall system integrity - - sudo ${vyos_op_scripts_dir}/system_integrity.py - - - - - Show messages in kernel ring buffer - - sudo dmesg - - - - - Show user accounts - - - - - Show user account information - - ${vyos_libexec_dir}/vyos-sudo.py ${vyos_op_scripts_dir}/show_users.py - - - - Show information about all accounts - - ${vyos_libexec_dir}/vyos-sudo.py ${vyos_op_scripts_dir}/show_users.py all - - - - Show information about locked accounts - - ${vyos_libexec_dir}/vyos-sudo.py ${vyos_op_scripts_dir}/show_users.py locked - - - - Show information about non VyOS user accounts - - ${vyos_libexec_dir}/vyos-sudo.py ${vyos_op_scripts_dir}/show_users.py other - - - - Show information about VyOS user accounts - - ${vyos_libexec_dir}/vyos-sudo.py ${vyos_op_scripts_dir}/show_users.py vyos - - - - - - - - - Show system memory usage - - ${vyos_op_scripts_dir}/show_ram.sh - - - - Show kernel cache information - - sudo slabtop -o - - - - Show detailed system memory usage - - cat /proc/meminfo - - - - - - - Show system processes - - ps ax - - - - Show extensive process info - - top -b -n1 - - - - Show summary of system processes - - uptime - - - - Show process tree - - ps -ejH - - - - - - - Show filesystem usage - - df -h -x squashfs - - - - - Show how long the system has been up - - uptime - - - - - - - -- cgit v1.2.3