|-server <machine name>||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 bos(8).|
|-file <log file to examine>||
Names the log file to display. If a filename only is provided, the BOS
Server fetches the log file from the /var/openafs/logs directory; the
standard values are:
If a pathname and filename are provided, the log file is retrieved from the indicated directory. Partial pathnames are interpreted relative to the /var/openafs/logs directory.
|-cell <cell name>||Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8).|
|-noauth||Assigns the unprivileged identity anonymous to the issuer. Do not combine this flag with the -localauth flag. For more details, see bos(8).|
|-localauth||Constructs a server ticket using a key from the local /usr/local/etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see bos(8).|
|-help||Prints the online help for this command. All other valid options are ignored.|
The output is preceded by the line
Fetching log file <filename>...
The remainder of the output depends on the particular log file.
The following example displays the FileLog file from the machine fs3.abc.com:
% 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
The issuer must be listed in the /usr/local/etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a server machine as the local superuser root if the -localauth flag is included.
When a server is in restricted mode, bos getlog can only return the contents of the salvagers log.
IBM Corporation 2000. <http://www.ibm.com/> 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.