Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod1 / xstat_fs_test.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3xstat_fs_test - Displays data collections from the File Server process
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<xstat_fs_test> [I<initcmd>] S<<< B<-fsname> <I<file server name(s) to monitor>>+ >>>
11 S<<< B<-collID> <I<collection(s) to fetch>>+ >>> [B<-onceonly>]
12 S<<< [B<-frequency> <I<poll frequency, in seconds>>] >>>
13 S<<< [B<-period> <I<data collection time, in minutes>>] >>> [B<-debug>] [B<-version>] [B<-help>]
14
15B<xstat_fs_test> [B<initcmd>] S<<< B<-fs> <I<File Server name(s) to monitor>>+ >>>
16 S<<< B<-c> <I<Collection(s) to fetch>>+ >>> [B<-o>]
17 S<<< [B<-fr> <I<poll frequency, in seconds>>] >>>
18 S<<< [B<-p> <I<data collection time, in minutes>>] >>> [B<-d>] [B<-version>] [B<-h>]
19
20=for html
21</div>
22
23=head1 DESCRIPTION
24
25The B<xstat_fs_test> command tests the routines in the F<libxstat_fs.a>
26library and displays the data collections associated with the File Server
27(the C<fs> process). The command executes in the foreground.
28
29The command produces a large volume of output; to save it for later
30analysis, direct it to a file.
31
32=head1 OPTIONS
33
34=over 4
35
36=item I<initcmd>
37
38Accommodates the command's use of the AFS command parser, and is optional.
39
40=item B<-fsname> <I<file server name to monitor>>+
41
42Specifies the fully qualified hostname of each file server machine for
43which to monitor the File Server process.
44
45=item B<-collID> <I<collection to fetch>>+
46
47Specifies each data collection to return, which defines the type and
48amount of data the command interpreter gathers about the File Server.
49Data is returned in a predefined data structure.
50
51There are four acceptable values:
52
53=over 4
54
55=item C<0>
56
57Provides profiling information about the numbers of times different
58internal File Server routines were called since the File Server
59started. This value is not currently implemented; it returns no data.
60
61=item C<1>
62
63Reports various internal performance statistics related to the File Server
64(for example, vnode cache entries and Rx protocol activity).
65
66=item C<2>
67
68Reports all of the internal performance statistics provided by the C<1>
69setting, plus some additional, detailed performance figures about the File
70Server (for example, minimum, maximum, and cumulative statistics regarding
71File Server RPCs, how long they take to complete, and how many succeed).
72
73=item C<3>
74
75Reports File Server callback processing statistics since the File Server
76started, including the number of call of callbacks added (AddCallBack), the
77number of callbacks broken (BreakCallBacks), and the number of callback
78space reclaims (GetSomeSpaces).
79
80=back
81
82=item B<-onceonly>
83
84Gathers statistics just one time. Omit this flag to have the command
85continue to probe the Cache Manager for statistics at the frequency
86specified by the B<-frequency> argument; in this case press Ctrl-C to stop
87the probes.
88
89=item B<-frequency> <I<poll frequency>>
90
91Sets the frequency in seconds at which the program initiates probes to the
92Cache Manager. The default is 30 seconds.
93
94=item B<-period> <I<data collection time>>
95
96Sets the number of minutes the program runs; at the end of this period of
97time, the program exits. The default is 10 minutes.
98
99=item B<-debug>
100
101Displays a trace on the standard output stream as the command runs.
102
103=item B<-help>
104
105Prints the online help for this command. All other valid options are
106ignored.
107
108=item B<-version>
109
110Prints the program version and then exits. All other valid options
111are ignored.
112
113=back
114
115=head1 SEE ALSO
116
117L<xstat_cm_test(1)>
118
119=head1 COPYRIGHT
120
121IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
122
123This documentation is covered by the IBM Public License Version 1.0. It was
124converted from HTML to POD by software written by Chas Williams and Russ
125Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.