#record_system_resources_usage.sh #The script used to record the use of system resources. #by shark巨菜 ########################################################################
#setup the time of the check echo "#######################################################" >> $IOSTAT_FILE echo "$DATE" >> $IOSTAT_FILE echo "-------------------------------------------------------------------------" >>$IOSTAT_FILE #check the cpu status echo "$CPU_USAGE" >> $IOSTAT_FILE echo "-------------------------------------------------------------------------" >>$IOSTAT_FILE #check the memory status echo "$MEM_USAGE" >> $IOSTAT_FILE echo "-------------------------------------------------------------------------" >>$IOSTAT_FILE #check the tasks status echo "$HCT" >> $IOSTAT_FILE