=head1 NAME
bos_getlog - Prints a server process's log file
=head1 SYNOPSIS
=for html
B S<<< B<-server> > >>> S<<< B<-file> > >>>
S<<< [B<-cell> >] >>> [B<-noauth>] [B<-localauth>] [B<-help>]
B S<<< B<-s> > >>> S<<< B<-f> > >>>
S<<< [B<-c> >] >>> [B<-n>] [B<-l>] [B<-h>]
=for html
=head1 DESCRIPTION
The B command displays on the standard output stream the
specified log file from the machine named by the B<-server> argument. The
BOS Server fetches the log file from the F directory unless
an alternate pathname is provided as part of the B<-file> argument.
=head1 CAUTIONS
Log files can grow quite large, especially for the database server
processes. To keep them to a manageable size, periodically either use the
UNIX B command to truncate each log file, or use the B
command to restart each process.
It can take up to five minutes after the file is removed or process
restarted for the space occupied by a log file to become available.
=head1 OPTIONS
=over 4
=item B<-server> >
Indicates the server machine from which to retrieve the log file.
Identify the machine by IP address or its host name (either
fully-qualified or abbreviated unambiguously). For details, see L.
=item B<-file> >
Names the log file to display. If a filename only is provided, the BOS
Server fetches the log file from the F directory; the
standard values are:
=over 4
=item F
The Authentication Server (B) log file.
=item F
The Backup Server (B) log file.
=item F
The BOS Server (B) log file.
=item F
The File Server (B) log file.
=item F
The Salvager (B) log file.
=item F
The Volume Location (VL) Server (B) log file.
=item F
The Volume Server (B) log file.
=back
If a pathname and filename are provided, the log file is retrieved from
the indicated directory. Partial pathnames are interpreted relative to the
F directory.
=item B<-cell> >
Names the cell in which to run the command. Do not combine this argument
with the B<-localauth> flag. For more details, see L.
=item B<-noauth>
Assigns the unprivileged identity C to the issuer. Do not
combine this flag with the B<-localauth> flag. For more details, see
L.
=item B<-localauth>
Constructs a server ticket using a key from the local
F file. The B command interpreter presents the
ticket to the BOS Server during mutual authentication. Do not combine this
flag with the B<-cell> or B<-noauth> options. For more details, see
L.
=item B<-help>
Prints the online help for this command. All other valid options are
ignored.
=back
=head1 OUTPUT
The output is preceded by the line
Fetching log file ''...
The remainder of the output depends on the particular log file.
=head1 EXAMPLES
The following example displays the FileLog file from the machine
C:
% bos getlog -server fs3.abc.com -file FileLog
Fetching log file 'FileLog'...
Sun Nov 8 04:00:34 1998 File server starting
Sun Nov 8 04:00:39 1998 Partition /vicepa: attached 21 volumes;
0 volumes not attached
Sun Nov 8 04:00:40 1998 File Server started Sun Nov 8 04:00:40
1998
Mon Nov 9 21:45:06 1998 CB: RCallBack (zero fid probe in host.c)
failed for host 28cf37c0.22811
=head1 PRIVILEGE REQUIRED
The issuer must be listed in the F file on the
machine named by the B<-server> argument, or must be logged onto a server
machine as the local superuser C if the B<-localauth> flag is
included.
When a server is in restricted mode, B can only return the
contents of the salvager's log.
=head1 SEE ALSO
L
=head1 COPYRIGHT
IBM Corporation 2000. All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was
converted from HTML to POD by software written by Chas Williams and Russ
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.