From 4de58de1947bf4fcfe16db8e9d2c9c920b1441d1 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 14 Jan 2021 22:21:50 +0100 Subject: added ss & updated lsof --- src/monitor/lsof.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/monitor/lsof.md') 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 -- cgit v1.2.3