From c512c827cce11442ddf63b0339a1ae9e2904e848 Mon Sep 17 00:00:00 2001 From: 8ga Date: Fri, 17 Oct 2025 16:47:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20202510=5FRTX4090=E7=AC=94?= =?UTF-8?q?=E7=94=B5=E6=93=8D=E4=BD=9C=E8=AE=B0=E5=BD=95.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 202510_RTX4090笔电操作记录.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/202510_RTX4090笔电操作记录.md b/202510_RTX4090笔电操作记录.md index be43114..adc91a3 100644 --- a/202510_RTX4090笔电操作记录.md +++ b/202510_RTX4090笔电操作记录.md @@ -1,4 +1,3 @@ -```shell # 因清华大学开源镜像站 HTTP/403 换了中科大的镜像站,配置信息存放在这里 cat /etc/apt/sources.list @@ -55,6 +54,13 @@ nohup vllm serve /home/ss/vllm-py12/qwen3-06b \ sudo apt install ngrep sudo apt-get install tshark -# 运行了1个定时任务脚本 +# 通过 java 脚本调用 tshark 提取关键日志 +sudo nohup bash /home/ss/vllm-py12/tshark_bash.sh >> /home/ss/vllm-py12/tshark_bash.log 2>&1 & echo $! > /home/ss/vllm-py12/tshark_bash.pid +# 运行了1个定时任务脚本,清理 tshark 的临时文件并重启 java 脚本 +sudo nohup /home/ss/vllm-py12/timer_bash.sh > /home/ss/vllm-py12/timer_bash.log 2>&1 & echo $! > /home/ss/vllm-py12/timer_bash.pid + +# 杀死上面2个进程的命令 +kill -9 $(cat /home/ss/vllm-py12/timer_bash.log) +kill -9 $(cat /home/ss/vllm-py12/tshark_bash.log) ``` \ No newline at end of file