OSI/TS Configuration and Management Manual

Performing Monitoring and Troubleshooting Guide
OSI/TS Configuration and Management Manual424831-001
4-41
Command File for Obtaining Diagnostic Information
Command File for Obtaining Diagnostic Information
The following is a set of SCF commands that can be used in a K-series system to collect
and display all the service and process statistics and other information needed by your
service representative. We recommend that you set up an SCF command file and then
use the OBEY command to invoke the file. You must be a super-group user to use this
SCF command file.
comment - This SCF command file displays and logs diagnostic
comment - information.
comment - This file can be used only in a K-series system
allow all errors
detail logtime both
comment - Start up the LOG file (very important).
log osiconf
comment - Display TSP process, service, and SU counters.
stats process ($tsp1, $tsp2)
comment - DISPLAY SUS IN ERROR.
check su ($tsp1.*, $tsp2.*), erroronly
comment - Display the SU and service statistics.
stats su ($tsp1.*, $tsp2.*)
stats service ($tsp1.*, $tsp2.*)
comment - Display the X.25 file system counters.
stats line ($x251, $x252), sub
comment - Display the TLAM file system counters and OSI
COMMENT - ports.
stats line ($lam1, $lam2)
stats port ($lam1.#z*, $lam2.#z*)
comment - Display all service statistics for 802.2 and 802.3.
stats service ($lam1.#L28022, $lam2.#L28022)
stats service ($lam1.#L18023, $lam2.#L18023)
Note. These commands are not generic. To use them, you must change the names to reflect
your configuration.