feat: 添加进程监控脚本 proc_monitor.sh

- 监控指定进程名或 PID
- 每 10 秒检测一次(可配置)
- 进程消失时执行指定命令
- 支持日志记录和后台守护模式
This commit is contained in:
2026-03-26 17:13:11 +08:00
parent 39adad4cd4
commit ebfed5d168
2 changed files with 241 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ tools/
| 名称 | 路径 | 说明 |
|------|------|------|
| - | - | 待添加 |
| proc_monitor.sh | scripts/proc_monitor.sh | 进程监控脚本,进程消失时执行指定命令 |
---