From a8b0e9978c4b8cbbe3f61b71a3194fac225470cc Mon Sep 17 00:00:00 2001 From: Julien Le Coupanec Date: Sun, 6 Mar 2022 20:00:38 +0100 Subject: [PATCH] docs: search and kill process --- tools/ubuntu.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ubuntu.sh b/tools/ubuntu.sh index e3d6bc0..705bf2d 100644 --- a/tools/ubuntu.sh +++ b/tools/ubuntu.sh @@ -23,3 +23,6 @@ lsof -i :9000 # List process running on port 9000 journalctl -u minio.service -n 100 --no-pager # List last 100 logs for specific service sudo resize2fs /dev/disk/by-id/scsi-0DO_example # Resize volume + +ps -ax | grep myprocessname # Search process +kill -9 PROCESS_ID # Kill process PID