dea9ac9958c3722022dbf36dd0efc8fd090e4e03
[openafs.git] / doc / man-pages / pod1 / xstat_cm_test.pod
1 =head1 NAME
2
3 xstat_cm_test - Displays data collections from the Cache Manager
4
5 =head1 SYNOPSIS
6
7 B<xstat_cm_test> [I<initcmd>]
8     B<-cmname> <I<cache manager name(s) to monitor>>+
9     B<-collID> <I<collection(s) to fetch>>+ [B<-onceonly>]  
10     [B<-frequency> <I<poll frequency, in seconds>>]  
11     [B<-period> <I<data collection time, in minutes>>] [B<-debug>]
12     [B<-help>]
13
14 B<xstat_cm_test> [I<i>] B<-cm> <I<cache manager name(s) to monitor>>+
15     B<-co> <I<collection(s) to fetch>>+ [B<-o>]
16     [B<-f> <I<poll frequency, in seconds>>]  
17     [B<-p> <I<data collection time, in minutes>>] [B<-d>] [B<-h>]
18
19 =head1 DESCRIPTION
20
21 The B<xstat_cm_test> command tests the routines in the F<libxstat_cm.a>
22 library and displays the data collections associated with the Cache
23 Manager. The command executes in the foreground.
24
25 The command produces a large volume of output; to save it for later
26 analysis, direct it to a file.
27
28 =head1 OPTIONS
29
30 =over 4
31
32 =item I<initcmd>
33
34 Accommodates the command's use of the AFS command parser, and is optional.
35
36 =item B<-cmname> <I<cache manager name to monitor>>+
37
38 Specifies the fully qualified hostname of each client machine for which to
39 monitor the Cache Manager.
40
41 =item B<-collID> <I<collection to fetch>>+
42
43 Specifies each data collection to return, which defines the type and
44 amount of data the command interpreter gathers about the Cache Manager.
45 Data is returned in a predefined data structure.
46
47 There are three acceptable values: 
48
49 =over 4
50
51 =item 0
52
53 Provides profiling information about the numbers of times different
54 internal Cache Manager routines were called since the Cache Manager
55 started.
56
57 =item 1
58
59 Reports various internal performance statistics related to the Cache
60 Manager (for example, statistics about how effectively the cache is being
61 used and the quantity of intracell and intercell data access).
62
63 =item 2
64
65 Reports all of the internal performance statistics provided by the C<1>
66 setting, plus some additional, detailed performance figures (for example,
67 statistics about the number of RPCs sent by the Cache Manager and how long
68 they take to complete, and statistics regarding authentication, access,
69 and PAG information associated with data access).
70
71 =back
72
73 =item B<-onceonly>
74
75 Gathers statistics just one time. Omit this flag to have the command
76 continue to probe the Cache Manager for statistics at the frequency
77 specified by the B<-frequency> argument; in this case press Ctrl-C to stop
78 the probes.
79
80 =item B<-frequency> <I<poll frequency>>
81
82 Sets the frequency in seconds at which the program initiates probes to the
83 Cache Manager. The default is 30 seconds.
84
85 =item B<-period> <I<data collection time>>
86
87 Sets the number of minutes the program runs; at the end of this period of
88 time, the program exits. The default is 10 minutes.
89
90 =item B<-debug>
91
92 Displays a trace on the standard output stream as the command runs.
93
94 =item B<-help>
95
96 Prints the online help for this command. All other valid options are
97 ignored.
98
99 =back
100
101 =head1 SEE ALSO
102
103 L<xstat_fs_test(1)>
104
105 =head1 COPYRIGHT
106
107 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
108
109 This documentation is covered by the IBM Public License Version 1.0.  It was
110 converted from HTML to POD by software written by Chas Williams and Russ
111 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.