# oswatch **Repository Path**: linux001/oswatch ## Basic Information - **Project Name**: oswatch - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-24 - **Last Updated**: 2025-04-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### Linux 系统自动化巡检脚本 #### 脚本使用前注意事项 > 需要使用root用户执行 > 下载脚本: 1. 使用说明 ```shell 脚本中 ifconfig、mpstat、iostat命令有依赖,需要安装相关依赖包 yum -y install bc sysstat net-tools ``` 2. 执行完巡检之后,将在脚本所在的路径下生成html巡检结果报告,如下 192.168.31.102os_linux_summary.html 3. 巡检项信息如下(其他统计项可根据实际需要自行添加) **1)、系统基本信息** **2)、cpu信息** **3)、ip网络信息** **4)、cpu使用率** **5)、连接数信息** **6)、系统限制信息** **7)、内存使用信息** **8)、磁盘使用信息** **9)、网络流量情况/系统资源变化** **10)、cpu消耗情况前10排行** **11)、cpu消耗按内存情况前10排行** **12)、磁盘io情况** **13)、系统定时任务列表** **14)、系统定时任务脚本内容**