From 3c795f4b20ed2f041af07532e8f526a13d9209b5 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Sun, 17 Mar 2024 11:00:04 +0000 Subject: [PATCH] Autosave: 2024-03-17 11:00:04 --- zk/Killing_processes.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/zk/Killing_processes.md b/zk/Killing_processes.md index bc658a7..f32c455 100644 --- a/zk/Killing_processes.md +++ b/zk/Killing_processes.md @@ -17,3 +17,21 @@ $ 7890 sudo kill -9 7890 # Kill the process that is running there ``` + +## Alterntive + +```sh +ss -ltnp | grep ':8000' +``` + +Returns: + +``` +LISTEN 0 511 [::1]:8000 [::]:* users:(("node",pid=10493,fd=34)) +``` + +Kill with: + +``` +kill 10493 +```