- 论坛徽章:
- 0
|
关于HP主机监控脚本coredump问题,向大家请教
我想监控主机内存cpu;在论坛找一下监控主机内存,CPU的自动脚本(引用别人的成果);
使用过程中,出现coredump问题;
#监控脚本: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后
出现
/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了,请问问题出在那个代码上? |
|