syncd

IBM AIX 巡检脚本

℡╲_俬逩灬. 提交于 2020-11-27 09:32:03
export LANG=en_US echo "======== system information ========" > aix_chk.out prtconf > /tmp/aix_chk_tmp1 grep "System Model" /tmp/aix_chk_tmp1 >> aix_chk.out grep "Machine Serial Number" /tmp/aix_chk_tmp1 >> aix_chk.out grep "Host Name:" /tmp/aix_chk_tmp1 >> aix_chk.out grep "Number Of Processors" /tmp/aix_chk_tmp1 >> aix_chk.out grep "Processor Clock Speed" /tmp/aix_chk_tmp1 >> aix_chk.out grep "Memory Size" /tmp/aix_chk_tmp1 >> aix_chk.out grep "Good Memory Size" /tmp/aix_chk_tmp1 >> aix_chk.out echo "" >> aix_chk.out echo "MICROCODE LEVEL" >> aix_chk.out lsmcode >> aix_chk.out echo "" >> aix