2020
10-10
10-10
shell脚本实现磁盘监控系统
利用shell脚本实现每隔60秒磁盘内存数据监控#!/bin/bash#Author:GaoHongYu#QQ:1061767621#Time:2019-12-2418:43:22#Name:ncjk.sh#Version:V1.0clearxtip=$(hostname-I)cprl=$(df-Th|head-2|tail-1|cut-d""-f10)cpky=$(df-Th|head-2|tail-1|cut-d""-f12)cpbfb=$(df-Th|head-2|tail-1|cut-d""-f18)ncrl=$(free-m|head-2|tail-1|cut-d""-f13)ncsy=$(free-m|head-2|tail-1|cut-d""-f22...
继续阅读 >