01 2014 档案
摘要:#!/bin/bash 2 hd=sda 3 disk=/dev/$hd 4 UPtime=`/usr/bin/uptime |awk '{print $3""$4""$5}'` 5 KBread_sec=`iostat -x $disk|grep $hd |awk '{print $8}'` 6 KBwrite_sec=`iostat -x $disk|grep $hd |awk '{print $9}'` 7 echo $KBread_sec 8 echo $KBwrite_sec 9 echo $UP
阅读全文

浙公网安备 33010602011771号