Shell脚本监控Linux系统硬盘各分区使用率

Shell脚本以下:python #/bin/bash #environment variable source /etc/profile #disk space for d in `df -P | grep /dev | awk '{print $5}' | sed 's/%//g'` do if [ $d -gt 90 ]; then
相关文章
相关标签/搜索