From 1f641ff640b38157fa8bd768d21ed54beb2aee68 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Thu, 11 Dec 2008 16:46:52 -0800 Subject: Add option to show counters for multiple interfaces. --- templates/show/interfaces/counters/node.def | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 templates/show/interfaces/counters/node.def (limited to 'templates/show') diff --git a/templates/show/interfaces/counters/node.def b/templates/show/interfaces/counters/node.def new file mode 100644 index 0000000..1cef3ee --- /dev/null +++ b/templates/show/interfaces/counters/node.def @@ -0,0 +1,2 @@ +help: Show network interface counters +run: ${vyatta_bindir}/vyatta-show-interfaces.pl --action=show-count -- cgit v1.2.3 From c9a78d8c4a9ea0f6c97989a49e0b8134e133af6c Mon Sep 17 00:00:00 2001 From: Justin Fletcher Date: Tue, 13 Jan 2009 14:04:51 -0800 Subject: Move tcp and udp commands under system/connections --- templates/show/system/connections/tcp/all/node.def | 2 ++ templates/show/system/connections/tcp/node.def | 2 ++ templates/show/system/connections/tcp/numeric/node.def | 2 ++ templates/show/system/connections/udp/node.def | 2 ++ templates/show/system/connections/udp/numeric/node.def | 2 ++ templates/show/tcp/all/node.def | 2 -- templates/show/tcp/node.def | 2 -- templates/show/tcp/numeric/node.def | 2 -- templates/show/udp/node.def | 2 -- templates/show/udp/numeric/node.def | 2 -- 10 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 templates/show/system/connections/tcp/all/node.def create mode 100644 templates/show/system/connections/tcp/node.def create mode 100644 templates/show/system/connections/tcp/numeric/node.def create mode 100644 templates/show/system/connections/udp/node.def create mode 100644 templates/show/system/connections/udp/numeric/node.def delete mode 100644 templates/show/tcp/all/node.def delete mode 100644 templates/show/tcp/node.def delete mode 100644 templates/show/tcp/numeric/node.def delete mode 100644 templates/show/udp/node.def delete mode 100644 templates/show/udp/numeric/node.def (limited to 'templates/show') diff --git a/templates/show/system/connections/tcp/all/node.def b/templates/show/system/connections/tcp/all/node.def new file mode 100644 index 0000000..6aa1cae --- /dev/null +++ b/templates/show/system/connections/tcp/all/node.def @@ -0,0 +1,2 @@ +help: show all TCP connections +run: /sbin/ss -t -a diff --git a/templates/show/system/connections/tcp/node.def b/templates/show/system/connections/tcp/node.def new file mode 100644 index 0000000..8b6c99b --- /dev/null +++ b/templates/show/system/connections/tcp/node.def @@ -0,0 +1,2 @@ +help: show TCP connection information +run: /sbin/ss -t -r diff --git a/templates/show/system/connections/tcp/numeric/node.def b/templates/show/system/connections/tcp/numeric/node.def new file mode 100644 index 0000000..7df9efe --- /dev/null +++ b/templates/show/system/connections/tcp/numeric/node.def @@ -0,0 +1,2 @@ +help: show TCP connection without resolving names +run: /sbin/ss -t -n diff --git a/templates/show/system/connections/udp/node.def b/templates/show/system/connections/udp/node.def new file mode 100644 index 0000000..ef9e55f --- /dev/null +++ b/templates/show/system/connections/udp/node.def @@ -0,0 +1,2 @@ +help: show UDP socket information +run: /sbin/ss -u -a -r diff --git a/templates/show/system/connections/udp/numeric/node.def b/templates/show/system/connections/udp/numeric/node.def new file mode 100644 index 0000000..cb43a91 --- /dev/null +++ b/templates/show/system/connections/udp/numeric/node.def @@ -0,0 +1,2 @@ +help: show UDP socket information without resolving names +run: /sbin/ss -u -a -n diff --git a/templates/show/tcp/all/node.def b/templates/show/tcp/all/node.def deleted file mode 100644 index 6aa1cae..0000000 --- a/templates/show/tcp/all/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: show all TCP connections -run: /sbin/ss -t -a diff --git a/templates/show/tcp/node.def b/templates/show/tcp/node.def deleted file mode 100644 index 8b6c99b..0000000 --- a/templates/show/tcp/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: show TCP connection information -run: /sbin/ss -t -r diff --git a/templates/show/tcp/numeric/node.def b/templates/show/tcp/numeric/node.def deleted file mode 100644 index 7df9efe..0000000 --- a/templates/show/tcp/numeric/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: show TCP connection without resolving names -run: /sbin/ss -t -n diff --git a/templates/show/udp/node.def b/templates/show/udp/node.def deleted file mode 100644 index ef9e55f..0000000 --- a/templates/show/udp/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: show UDP socket information -run: /sbin/ss -u -a -r diff --git a/templates/show/udp/numeric/node.def b/templates/show/udp/numeric/node.def deleted file mode 100644 index cb43a91..0000000 --- a/templates/show/udp/numeric/node.def +++ /dev/null @@ -1,2 +0,0 @@ -help: show UDP socket information without resolving names -run: /sbin/ss -u -a -n -- cgit v1.2.3