From 91cd7a0be1defc6c6be4c72509ff3ce11d6fd0cb Mon Sep 17 00:00:00 2001 From: Muhammad Falak R Wani Date: Fri, 15 Jul 2022 21:03:17 +0530 Subject: [PATCH] fuser: add example to kill processes bound to a specific socket (#8175) --- pages/linux/fuser.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/fuser.md b/pages/linux/fuser.md index 8391f7212..2d251a5a5 100644 --- a/pages/linux/fuser.md +++ b/pages/linux/fuser.md @@ -22,3 +22,7 @@ - Find which processes are accessing the filesystem containing a specific file or directory: `fuser --mount {{path/to/file_or_directory}}` + +- Kill all processes with a TCP connection on a specific port: + +`fuser --kill {{port}}/tcp`