Chapter3 Managing ITP Networks Using SGM
Working with SGM Statistics Reports
3-342
Cisco Signaling Gateway Manager User Guide
78-15589-01
To use PAGER to display the contents of the system reports log, enter the
sgm replog command. The reports log lists all messages related to the
creation and maintenance of SGM reports.
To clear the log and restart the server, enter sgm replog clear.
To display the contents of the log in reverse order, with the most recent
commands at the beginning of the log, enter sgm replog -r.
For more information about the reports log, see the “Viewing the SGM
System Reports Log” section on page3-394.
To remove all data from SGM network statistics reports, restoring the reports
to a “clean” state, enter the sgm statreps clean command.
To remove all data from one or more SGM custom statistics reports, restoring
the reports to a “clean” state, enter the sgm statreps cleancustom command.
To clean all custom reports, enter sgmstatreps cleancustom.
To clean a single custom report, enter sgmstatreps cleancustom tag,
where tag is the ID tag of the custom report you want to clean.
For more information about each of these commands, including valid ranges and
default settings, see the “SGM Commands and Descriptions” section on pageB-2.
Each of these commands requires you to be logged in as the root user, as described
in the “Becoming the Root User (Solaris Only)” section on page 3-2, or as a super
user, as described in the “Specifying a Super User (Solaris Only)” section on
page 4-22.
Changing the SGM Reports Directory (Solaris Only)
You can change the directory in which SGM stores reports.
To change the SGM report files directory, log in as the root user, as described in
the “Becoming the Root User (Solaris Only)” section on page 3-2, or as a super
user, as described in the “Specifying a Super User (Solaris Only)” section on
page 4-22, and enter the following commands:
# cd /opt/CSCOsgm/bin
# ./sgm repdir directory
where directory is the new directory.