summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/tcp/all/node.def2
-rw-r--r--templates/show/tcp/node.def2
-rw-r--r--templates/show/tcp/numeric/node.def2
-rw-r--r--templates/show/udp/node.def2
-rw-r--r--templates/show/udp/numeric/node.def2
5 files changed, 10 insertions, 0 deletions
diff --git a/templates/show/tcp/all/node.def b/templates/show/tcp/all/node.def
new file mode 100644
index 0000000..52c3893
--- /dev/null
+++ b/templates/show/tcp/all/node.def
@@ -0,0 +1,2 @@
+help: show all TCP connections
+run: ss -t -a
diff --git a/templates/show/tcp/node.def b/templates/show/tcp/node.def
new file mode 100644
index 0000000..07d04a6
--- /dev/null
+++ b/templates/show/tcp/node.def
@@ -0,0 +1,2 @@
+help: show TCP connection information
+run: ss -t -r
diff --git a/templates/show/tcp/numeric/node.def b/templates/show/tcp/numeric/node.def
new file mode 100644
index 0000000..35a13fe
--- /dev/null
+++ b/templates/show/tcp/numeric/node.def
@@ -0,0 +1,2 @@
+help: show TCP connection without resolving names
+run: ss -t -n
diff --git a/templates/show/udp/node.def b/templates/show/udp/node.def
new file mode 100644
index 0000000..29e7548
--- /dev/null
+++ b/templates/show/udp/node.def
@@ -0,0 +1,2 @@
+help: show UDP socket information
+run: ss -u -a -r
diff --git a/templates/show/udp/numeric/node.def b/templates/show/udp/numeric/node.def
new file mode 100644
index 0000000..6eae466
--- /dev/null
+++ b/templates/show/udp/numeric/node.def
@@ -0,0 +1,2 @@
+help: show UDP socket information without resolving names
+run: ss -u -a -n