SPOTDELAY.TUSC(1)SPOTDELAY.TUSC(1)NAMEspotdelay.tusc - A Perl script filter utility that reads through a tusc
output file, checking for delays and therefore bottlenecks in the sys‐
tem calls tusk reports on.
SYNOPSISspotdelay.tusc [-h] [-nNN] [-s PATT] <tusc output file
cat <tusc output file>|spotdelay.tusc [-nNN] [-s PATT]
DESCRIPTION
This tool is part of the CIFS WTEC Support Tools suite.
spotdelay.tusc is a Perl script that runs through the user provided
tusc output file looking at the time stamps for each line in the tusc
trace. It will issue a warning when the following condition holds:
Delays occur greater than a specified time between sequential
lines in the trace.
You will have to examine the lines that spotdelay.tusc warns about.
LIMITATIONSspotdelay.tusc requires that the tusc trace be taken with the following
options: -aeflpT.
OPTIONS-h Print a summary of command line options.
-nNN Sets the maximum time (in seconds)between lines above which
spotdelay.tusc will issue a warning. For example to see if
there are any lines with one tenth of a second or more between
them, set this to '.1'.
OUTPUT
It indicates the line number, system call, and actual time that took
longer than -nNN seconds to complete. The output is of the form:
line:XXXX:YYYYYYYYYY: Z.zzzzzzzzzzzzz s
Where XXXX is the line number, YYYYYYYYY is the name of the system
call, and Z.zzz... is the actual time spent in the system call. Armed
with this information, you can vi the tusc file itself to determine the
events surrounding the system call. You can also quickly see patterns,
for instance if the majority of the calls taking more than NN seconds
to complete are the same.
Dependenciesspotdelay.tusc requires that the tusc trace was captured with the op‐
tions: -aeflpT. It also obviously requires that you have the tusc
utility to TAKE the trace with. If it is NOT on your system, you can
acquire it from your HP support representative. spotdelay.tusc was de‐
veloped and tested using tusc version 7.5 PL1. Not all versions of tusc
support the required options - be sure you have version 7.5 PL1 or
higher.
This script was developed and tested under perl(1) version 5.005_02
built for PA-RISC1.1 . While it may run under previous versions it is
recommended that you install 5.005_02 or higher for best results. You
may need to modify the first line to point to whatever location YOUR
environment has perl installed.
SEE ALSOtusc(1).
AUTHOR
Don McCall, HP WTEC NOS Support Team .
tusc was written by Chris R. Bertin, HP Openview Support.
SPOTDELAY.TUSC(1)