1
0

更新 202510_RTX4090笔电操作记录.md

This commit is contained in:
8ga 2025-10-17 16:47:45 +08:00
parent 37c6857458
commit c512c827cc

View File

@ -1,4 +1,3 @@
```shell
# 因清华大学开源镜像站 HTTP/403 换了中科大的镜像站,配置信息存放在这里 # 因清华大学开源镜像站 HTTP/403 换了中科大的镜像站,配置信息存放在这里
cat /etc/apt/sources.list cat /etc/apt/sources.list
@ -55,6 +54,13 @@ nohup vllm serve /home/ss/vllm-py12/qwen3-06b \
sudo apt install ngrep sudo apt install ngrep
sudo apt-get install tshark 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)
``` ```