3 bos_getlog - Prints a server process's log file
10 B<bos getlog> S<<< B<-server> <I<machine name>> >>> S<<< B<-file> <I<log file to examine>> >>>
11 S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>] [B<-help>]
13 B<bos getl> S<<< B<-s> <I<machine name>> >>> S<<< B<-f> <I<log file to examine>> >>>
14 S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>] [B<-h>]
21 The B<bos getlog> command displays on the standard output stream the
22 specified log file from the machine named by the B<-server> argument. The
23 BOS Server fetches the log file from the F</usr/afs/logs> directory unless
24 an alternate pathname is provided as part of the B<-file> argument.
28 Log files can grow quite large, especially for the database server
29 processes. To keep them to a manageable size, periodically either use the
30 UNIX B<rm> command to truncate each log file, or use the B<bos restart>
31 command to restart each process.
33 It can take up to five minutes after the file is removed or process
34 restarted for the space occupied by a log file to become available.
40 =item B<-server> <I<machine name>>
42 Indicates the server machine from which to retrieve the log file.
43 Identify the machine by IP address or its host name (either
44 fully-qualified or abbreviated unambiguously). For details, see L<bos(8)>.
46 =item B<-file> <I<log file to examine>>
48 Names the log file to display. If a filename only is provided, the BOS
49 Server fetches the log file from the F</usr/afs/logs> directory; the
56 The Authentication Server (B<kaserver>) log file.
60 The Backup Server (B<buserver>) log file.
64 The BOS Server (B<bosserver>) log file.
68 The File Server (B<fileserver>) log file.
72 The Protection Server (B<ptserver>) log file.
76 The Salvager (B<salvager>) log file.
80 The Volume Location (VL) Server (B<vlserver>) log file.
84 The Volume Server (B<volserver>) log file.
88 If a pathname and filename are provided, the log file is retrieved from
89 the indicated directory. Partial pathnames are interpreted relative to the
90 F</usr/afs/logs> directory.
92 =item B<-cell> <I<cell name>>
94 Names the cell in which to run the command. Do not combine this argument
95 with the B<-localauth> flag. For more details, see L<bos(8)>.
99 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
100 combine this flag with the B<-localauth> flag. For more details, see
105 Constructs a server ticket using a key from the local
106 F</usr/afs/etc/KeyFile> file. The B<bos> command interpreter presents the
107 ticket to the BOS Server during mutual authentication. Do not combine this
108 flag with the B<-cell> or B<-noauth> options. For more details, see
113 Prints the online help for this command. All other valid options are
120 The output is preceded by the line
122 Fetching log file '<filename>'...
124 The remainder of the output depends on the particular log file.
128 The following example displays the FileLog file from the machine
131 % bos getlog -server fs3.example.com -file FileLog
132 Fetching log file 'FileLog'...
133 Sun Nov 8 04:00:34 1998 File server starting
134 Sun Nov 8 04:00:39 1998 Partition /vicepa: attached 21 volumes;
135 0 volumes not attached
136 Sun Nov 8 04:00:40 1998 File Server started Sun Nov 8 04:00:40
138 Mon Nov 9 21:45:06 1998 CB: RCallBack (zero fid probe in host.c)
139 failed for host 28cf37c0.22811
141 =head1 PRIVILEGE REQUIRED
143 The issuer must be listed in the F</usr/afs/etc/UserList> file on the
144 machine named by the B<-server> argument, or must be logged onto a server
145 machine as the local superuser C<root> if the B<-localauth> flag is
148 When a server is in restricted mode, B<bos getlog> B<-file> may only
149 specify files from the logs directory.
157 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
159 This documentation is covered by the IBM Public License Version 1.0. It was
160 converted from HTML to POD by software written by Chas Williams and Russ
161 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.