Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / kas_statistics.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3kas_statistics - Displays statistics from an Authentication Server process
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<kas statistics>
11 S<<< [B<-admin_username> <I<admin principal to use for authentication>>] >>>
12 S<<< [B<-password_for_admin> <I<admin password>>] >>> S<<< [B<-cell> <I<cell name>>] >>>
13 S<<< [B<-servers> <I<explicit list of authentication servers>>+] >>>
14 [B<-noauth>] [B<-help>]
15
16B<kas sta> S<<< [B<-a> <I<admin principal to use for authentication>>] >>>
17 S<<< [B<-p> <I<admin password>>] >>> S<<< [B<-c> <I<cell name>>] >>>
18 S<<< [B<-s> <I<explicit list of authentication servers>>+] >>> [B<-n>] [B<-h>]
19
20=for html
21</div>
22
23=head1 DESCRIPTION
24
25The B<kas statistics> command displays statistics from the Authentication
26Server running on one of the cell's database server machines. Use the
27B<-servers> argument to name a specific machine, or the command
28interpreter chooses one at random from all the database server machines
29with which it has established connections.
30
31=head1 CAUTIONS
32
33The B<-servers> argument is not available in interactive mode, making it
34impossible to specify a certain machine.
35
36=head1 OPTIONS
37
38=over 4
39
40=item B<-admin_username> <I<admin principal>>
41
42Specifies the user identity under which to authenticate with the
43Authentication Server for execution of the command. For more details, see
44L<kas(8)>.
45
46=item B<-password_for_admin> <I<admin password>>
47
48Specifies the password of the command's issuer. If it is omitted (as
49recommended), the B<kas> command interpreter prompts for it and does not
50echo it visibly. For more details, see L<kas(8)>.
51
52=item B<-cell> <I<cell name>>
53
54Names the cell in which to run the command. For more details, see
55L<kas(8)>.
56
57=item B<-servers> <I<authentication servers>>+
58
59Names each machine running an Authentication Server with which to
60establish a connection. For more details, see L<kas(8)>.
61
62=item B<-noauth>
63
64Assigns the unprivileged identity C<anonymous> to the issuer. For more
65details, see L<kas(8)>.
66
67=item B<-help>
68
69Prints the online help for this command. All other valid options are
70ignored.
71
72=back
73
74=head1 OUTPUT
75
76The information in the output includes:
77
78=over 4
79
80=item *
81
82The number of allocation and freeing operations the Authentication Server
83has performed, and how many password change requests it has processed.
84
85=item *
86
87An indication of its hash table use.
88
89=item *
90
91The server machine's IP address in hexadecimal and the date when the
92current instance of the Authentication Server started.
93
94=item *
95
96The number of requests and aborted requests for various services:
97authentication, ticket granting, password setting, entry listing, and so
98on.
99
100=item *
101
102The amount of CPU time that the Authentication Server has used to process
103requests since it started. The amount is not accurate on all system types,
104however.
105
106=item *
107
108The number of entries in the Authentication Database that are marked with
109the C<ADMIN> flag.
110
111=back
112
113=head1 EXAMPLES
114
115In the following example, an administrator using the admin account gathers
116statistics from the Authentication Server running on the machine
117C<fs1.example.com>.
118
119 % kas statistics -servers fs1.example.com
120 56 allocs, 46 frees, 0 password changes
121 Hash table utilization = 0.100000%
122 From host bfff21a7 started at Tue Mar 23 12:42:02 1999:
123 of 88 requests for Authenticate, 18 were aborted.
124 of 14 requests for GetTicket, 0 were aborted.
125 of 4 requests for CreateUser, 1 were aborted.
126 of 12 requests for SetFields, 4 were aborted.
127 of 3 requests for DeleteUser, 0 were aborted.
128 of 23 requests for GetEntry, 4 were aborted.
129 of 18 requests for ListEntry, 0 were aborted.
130 of 2 requests for GetStats, 1 were aborted.
131 of 2 requests for GetRandomKey, 0 were aborted.
132 Used 6.015 seconds of CPU time.
133 3 admin accounts
134
135=head1 PRIVILEGE REQUIRED
136
137The issuer must have the C<ADMIN> flag set on his or her Authentication
138Database entry.
139
140=head1 SEE ALSO
141
142L<kas(8)>
143
144=head1 COPYRIGHT
145
146IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
147
148This documentation is covered by the IBM Public License Version 1.0. It was
149converted from HTML to POD by software written by Chas Williams and Russ
150Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.