From 2d91d4243a3405c67ff1ce08d0bf1a5a3b513586 Mon Sep 17 00:00:00 2001 From: "cnb.dg2025-08" Date: Sat, 13 Sep 2025 11:05:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=96=87=E4=BB=B6=20README.m?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 2e4bde4..69ea3d0 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,13 @@ wget -O builds.sh https://cnb.cool/dg2025-08/Cax/-/git/raw/main/builds.sh && sh builds.sh ``` + +## 杀死全部进程命令 +············································· +/etc/init.d/cns restart#原脚本用此命令会杀死cns自己 +kill -s 15 $(pidof cns) >/dev/null 2>&1 +kill -9 $(pgrep cns) >/dev/null 2>&1 +kill -s 15 $(ps -ef|grep cns | grep -v grep) +killall cns > /dev/null 2> 1 +·············································· +