- 論壇徽章:
- 0
|
關于HP主機監(jiān)控腳本coredump問題,向大家請教
我想監(jiān)控主機內存cpu;在論壇找一下監(jiān)控主機內存,CPU的自動腳本(引用別人的成果);
使用過程中,出現(xiàn)coredump問題;
#監(jiān)控腳本:global.adviser.txt(此腳本需放置在/opt/perf/examples/adviser/下)
#This adviser script prints the global cpu/disk/mem/swap utilization and also
# the network subsystem wait percent for the interval. Think of it as the
# glance global bars plus a network indicator.
firsttime=firsttime
if firsttime == 0 then
{
print " "
firsttime=1
print " CPU DISK MEM SWAP Network"
print "Date Time Interval Util Util Util Util Wait %"
print "---------------------------------------------------------------------"
}
print GBL_STATDATE," ",GBL_STATTIME," ",GBL_INTERVAL," ",GBL_CPU_TOTAL_UTIL," ",GBL_DISK_UTIL_PEAK," ",GBL_MEM_UTIL," ",GBL_SWAP_SPACE_UTIL," ",GBL_NETWORK_SUBSYSTEM_WAIT_PCT
我nohup glance -adviser_only -syntax /opt/perf/examples/adviser/global.adviser.txt -j 900>>/tmp/hkf/global.txt后
出現(xiàn)
/tmp/hkf>ps -ef|grep glance
root 6457 26208 0 12:04:15 pts/tb 0:00 grep glance
[1] + Memory fault(coredump) <job name not known>
明顯內存core了,請問問題出在那個代碼上? |
|