# system_monitor_simple **Repository Path**: Rohin1/system_monitor_simple ## Basic Information - **Project Name**: system_monitor_simple - **Description**: 进行查看服务器的水位情况 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-15 - **Last Updated**: 2025-05-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # system_monitor_simple #### 介绍 进行查看服务器的水位情况(win/linux)) #### 软件架构 软件架构说明 #### 安装教程 # 安装核心依赖 sudo apt-get update sudo apt-get install python3-flask python3-psutil # (可选)如果需要温度监控(部分 Linux 系统可能需要) sudo apt-get install lm-sensors # 用于读取传感器数据 建议运行 nohup python3 system_monitor_simple.py >> monitor.log 2>&1 & #### 使用说明 ![输入图片说明](https://foruda.gitee.com/images/1747292189354350815/e57316ea_8208321.png "0ade13e8-eac7-47ce-9d0e-f1e9042f092f.png") sudo nano /etc/systemd/system/monitor.service [Unit] Description=System Monitor Service After=network.target [Service] ExecStart=/usr/bin/python3 /opt/status/system_monitor_simple.py WorkingDirectory=/opt/status StandardOutput=append:/opt/status/monitor.log StandardError=append:/opt/status/monitor.log Restart=always User=root # 根据实际情况修改用户 [Install] WantedBy=multi-user.target sudo systemctl daemon-reload sudo systemctl start monitor sudo systemctl enable monitor # 设置开机自启动 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)