Sp switch router example, Sp switch router example -26 – Lucent Technologies 9077 16S User Manual
Page 102

3-26
October 22, 1999
SP Switch Router Adapter Guide - 1.4 Update 2
Monitoring and Management Tools
Data collection utility - grdinfo
–
grdinfo -frame
the collection of system-wide Frame Relay status, configurations, and statistics
–
grdinfo -bridge
the collection of system-wide bridging status, configurations, and statistics
–
grdinfo -dr
The dynamic routing option is not available in this release.
–
grdinfo -all
collects and combines all the data the other options collect (not recommended)
Caution:
The grdinfo all command can fill up the file system. It will hang, and you must use
Control-C to end the process. Clean up any files that were saved before the abort.
grdinfo collects and compresses the requested information into a
tar.gz
file in the
/var/tmp/grdinfo
directory:
grdinfo.tar.gz
SP Switch Router example
This example collects card statistics for the SP Switch Router Adapter card in slot 11:
# grdinfo -card=11
Output from /usr/nbin/grdinfo is going to file
/var/tmp/grdinfo/grdinfo.tar.gz
# cd /var/tmp/grdinfo/
# ls
grdinfo.tar.gz
# gunzip grdinfo.tar.gz
# ls
grdinfo.tar
# tar xvf grdinfo.tar
/var/tmp/grdinfo/grdinfo.145041.info
/var/tmp/grdinfo/grdinfo.145041.errors
tar: tar vol 1, 2 files, 10240 bytes read.
#
# vi /var/tmp/grdinfo/grdinfo.145041.info
Here are the contents of the file saved for the SP Switch Router Adapter card:
============================================================
This file contains data collected by grdinfo while running.
============================================================
Not collecting configuration files
Not collecting log files
Not collecting media and kernel dump files
Not collecting system information
Not collecting frame relay information
Not collecting transparent bridging information
Getting maint information from cards : args -> 11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Card 11 / DEV1.