ANALYZE.TUSC(1)ANALYZE.TUSC(1)NAMEanalyze.tusc - A Perl script filter utility that reads through a tusc
output file, and delivers statistics on the system calls tusc reports
on.
SYNOPSISanalyze.tusc [-c] <tusc output file>
DESCRIPTION
This tool is part of the CIFS WTEC Support Tools suite.
analyze.tusc is a utility for analyzing the contents of a tusc output
file, providing this information extracted from the file:
- average, minimum and maximum response time for each system call
- total summary of the most frequently seen system call
- the system call using the most time as measured in total number of
seconds of processing time
- total number of system calls processed
- total number of different types of system call
- total log file duration
OPTIONS-c Output for use as a Comma Separated Values (CSV) file
filename Filename to be analyzed. This is a required parameter.
OUTPUT
This was done using the command: # analyze.tusc <filename>
chdir:
Total time consumed: 0.0258071422576904
Average time consumed: 0.000353522496680691
Minimum time consumed: 0.000304102897644043
Maximum time consumed: 0.000778079032897949
Number of times called: 73
close:
Total time consumed: 0.0154075622558594
Average time consumed: 0.00028013749556108
Minimum time consumed: 0.000242948532104492
Maximum time consumed: 0.000702023506164551
Number of times called: 55
fcntl:
Total time consumed: 0.0101687908172607
Average time consumed: 0.000242114067077637
Minimum time consumed: 0.00022590160369873
Maximum time consumed: 0.000275015830993652
Number of times called: 42
fstat:
Total time consumed: 0.00122714042663574
Average time consumed: 0.000245428085327148
Minimum time consumed: 0.00023496150970459
Maximum time consumed: 0.000258088111877441
<lines omitted here for sake of brevity>
write:
Total time consumed: 42.2174119949341
Average time consumed: 0.000313320360354857
Minimum time consumed: 0.000248908996582031
Maximum time consumed: 0.0886640548706055
Number of times called: 134742
Summary:
Lines processed: 390258
Unique system calls: 31
Total system calls made: 195123
Most called System Call: write
System call using the most time: write
Tusc trace Duration(seconds): 237.372695922852
Dependenciesanalyze.tusc requires that the tusc trace be taken with the following
options: -p-T "" -E -o <output file> <PID>. Alternatively, you can
use the same options as defined in the man page for spotdelay.tusc.
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.
analyze.tusc was developed 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
Ian Jespersen, HP WTEC NOS Support Team .
tusc was written by Chris R. Bertin, HP Openview Support.
ANALYZE.TUSC(1)