From a9daaa8409347ad9e51d75f76f5985b8e9f2e365 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 19 Jun 2020 16:11:37 +0200 Subject: op-mode: console-server: T2490: get connection info --- op-mode-definitions/show-console-server.xml | 36 +++++++++++++++++++++++++++++ op-mode-definitions/show-log.xml | 6 ----- 2 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 op-mode-definitions/show-console-server.xml (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-console-server.xml b/op-mode-definitions/show-console-server.xml new file mode 100644 index 000000000..77a7f3376 --- /dev/null +++ b/op-mode-definitions/show-console-server.xml @@ -0,0 +1,36 @@ + + + + + + + + + Show log for serial console server + + /usr/bin/journalctl -u conserver-server.service + + + + + + Show Console-Server information + + + + + Examine console ports and configured baud rates + + /usr/bin/console -x + + + + Show users on various consoles + + /usr/bin/console -u + + + + + + diff --git a/op-mode-definitions/show-log.xml b/op-mode-definitions/show-log.xml index 827bee4c7..0c4da647b 100644 --- a/op-mode-definitions/show-log.xml +++ b/op-mode-definitions/show-log.xml @@ -32,12 +32,6 @@ cat $(printf "%s\n" /var/log/messages* | sort -nr ) | grep -e conntrackd - - - Show log for serial console server - - /usr/bin/journalctl -u conserver-server.service - Show log for Dynamic Host Control Protocol (DHCP) -- cgit v1.2.3