aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/monitor/lsof.md
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-01-14 22:21:50 +0100
committerjohannst <johannes.stoelp@gmail.com>2021-01-14 22:21:50 +0100
commit4de58de1947bf4fcfe16db8e9d2c9c920b1441d1 (patch)
treeedabf5c5f27e5be03ea63421b65b309acf8b64d7 /src/monitor/lsof.md
parentce946dc97b38a720a8eb4980bbd43cd702e86614 (diff)
downloadnotes-4de58de1947bf4fcfe16db8e9d2c9c920b1441d1.tar.gz
notes-4de58de1947bf4fcfe16db8e9d2c9c920b1441d1.zip
added ss & updated lsof
Diffstat (limited to 'src/monitor/lsof.md')
-rw-r--r--src/monitor/lsof.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/monitor/lsof.md b/src/monitor/lsof.md
index f621abe..7effd39 100644
--- a/src/monitor/lsof.md
+++ b/src/monitor/lsof.md
@@ -55,6 +55,12 @@ Show open connections to `localhost` for `$USER`:
lsof -a -u $USER -i @localhost
```
+## Open connection to specific port
+Show open connections to port `:1234` for `$USER`:
+```markdown
+lsof -a -u $USER -i :1234
+```
+
## IPv4 TCP connections in `ESTABLISHED` state
```markdown
lsof -i 4TCP -s TCP:ESTABLISHED