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