Cisco Systems OL-27172-01 Mobility Aid User Manual


 
11-15
Cisco Broadband Access Center 3.8 Administrator Guide
OL-27172-01
Chapter 11 Monitoring Cisco Broadband Access Center
Monitoring Performance Statistics
Understanding perfstat.log
You can monitor performance statistics by using the data recorded in the perfstat.log file, in which
statistics data is logged at specific intervals; this time interval is 5 minutes. The perfstat.log file resides
in separate directories for the RDU (<BPR_DATA>/rdu/logs/statistics) and the DPE
(<BPR_DATA>/dpe/logs/statistics).
Each perfstat.log file stores data for a minimum of one day and a maximum of 30 days. Since you can
turn on and turn off the performance statistics feature, the logs may not represent data for consecutive
days.
The perfstat.log file is renamed every day by using the perfstat.N.log format, where N is any value
between 1 and 100. For example, perfstat.100.log will be the oldest log while perfstat.1.log will be the
most recent renamed perfstat.log file.
Note The data is stored in comma-separated vector format. The format of each statistic is
yyyymmdd:hh:mm, component, interval-in-milliseconds, stat1-tag, stat1-value, stat2-tag,
stat2-value, … Stat1-tag and stat1-value specify the tag ID and the value of each statistic,
respectively.
Using runStatAnalyzer.sh
You can use Cisco BAC to analyze and provide a summary of performance statistics by using the
runStatAnalyzer.sh tool. To analyze collected performance statistics, run the runStatAnalyzer.sh tool
from the:
<BPR_HOME>/rdu/bin directory for the RDU.
<BPR_HOME>/dpe/bin directory for the DPE.
Syntax Description
# runStatAnalyzer.sh [-d perfdata-dir] [-s start-time] [-e end-time] [-c component]
[-f output-format] [-help] [-help components] [-help statistics [component]]
perfdata-dir—Specifies the directory from which performance statistics are analyzed. This is the
perfstatN.dat file located in the following default directories:
<BPR_HOME>/rdu/logs/statistics for the RDU
<BPR_HOME>/dpe/logs/statistics for the DPE
start-time—Specifies the time from which collected data is to be analyzed. By default, all collected
statistics are reported. Use this time format to specify start-time: yyyy-mm-dd:hh:mm.
end-time—Specifies the time until which data collected data is to be analyzed. By default, all
collected statistics are reported. Use this time format to specify end-time: yyyy-mm-dd:hh:mm.