- 论坛徽章:
- 0
|
==【摘录】
This is one we run from cron daily -
/opt/perf/bin/glance -adviser_only -syntax $SYNTAX_FILE -j 5 -iterations 2
The syntax file is for monitoring memory, the the metrics used.
PRINT " #####################################################"
PRINT " Date In Time: ",gbl_statdate
PRINT " Point in Time ",gbl_stattime
PRINT " System Memory: ",gbl_mem_sys
PRINT " Buffer Cache: ",gbl_mem_cache
PRINT " User Memory: ",gbl_mem_user
PRINT " Free Memory: ",gbl_mem_free
PRINT " _____________________________________________________"
PRINT " Total Physical Memory: ",gbl_mem_phys
PRINT ""
PRINT " CPU Normal Utilization: ",gbl_cpu_normal_util
PRINT " CPU Nice Utilization: ",gbl_cpu_nice_util
PRINT " CPU Realtime Utilization:",gbl_cpu_realtime_util
PRINT " CPU Sysmode Utilization: ",gbl_cpu_sys_mode_util
PRINT " _____________________________________________________"
PRINT " CPU Total Utilization: ",gbl_cpu_total_util
PRINT ""
PRINT " PAGE OUT RATE: ",gbl_mem_pageout_rate
PRINT " ====================================================="
PRINT "" |
|