aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/monitor
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-05-01 14:34:55 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-05-01 14:49:10 +0200
commit1c20849c87f2d936ec599b56f965507dee97ade6 (patch)
tree12facdefd0131a0cff734fde80d50fd949642884 /src/monitor
parent94481491efef29078c07347cddc966401407e9da (diff)
downloadnotes-1c20849c87f2d936ec599b56f965507dee97ade6.tar.gz
notes-1c20849c87f2d936ec599b56f965507dee97ade6.zip
ss: move from monitor -> network
Diffstat (limited to 'src/monitor')
-rw-r--r--src/monitor/README.md1
-rw-r--r--src/monitor/ss.md39
2 files changed, 0 insertions, 40 deletions
diff --git a/src/monitor/README.md b/src/monitor/README.md
index 4728b14..dee94aa 100644
--- a/src/monitor/README.md
+++ b/src/monitor/README.md
@@ -1,7 +1,6 @@
# Resource analysis & monitor
- [lsof](./lsof.md)
-- [ss](./ss.md)
- [pidstat](./pidstat.md)
- [pgrep](./pgrep.md)
- [ps](./ps.md)
diff --git a/src/monitor/ss.md b/src/monitor/ss.md
deleted file mode 100644
index aaa27fd..0000000
--- a/src/monitor/ss.md
+++ /dev/null
@@ -1,39 +0,0 @@
-# ss(8)
-
-```markdown
-ss [option] [filter]
-```
-
-```markdown
-[option]
- -p ..... Show process using socket
- -l ..... Show sockets in listening state
- -4/-6 .. Show IPv4/6 sockets
- -x ..... Show unix sockets
- -n ..... Show numeric ports (no resolve)
- -O ..... Oneline output per socket
-```
-
-```markdown
-[filter]
- dport/sport PORT .... Filter for destination/source port
- dst/src ADDR ........ Filter for destination/source address
-
- and/or .............. Logic operator
- ==/!= ............... Comparison operator
-
- (EXPR) .............. Group exprs
-```
-
-# Examples
-
-Show all tcp IPv4 sockets connecting to port `443`:
-```markdown
-ss -4 'dport 443'
-```
-
-Show all tcp IPv4 sockets that don't connect to port `443` or connect to address `1.2.3.4`.
-```markdown
-ss -4 'dport != 443 or dst 1.2.3.4'
-```
-