2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
bos_status - Displays the status of server processes
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
S<<< B<bos status -server> <I<machine name>> >>> [-instance <I<server process name>>+]
|
|
|
|
[B<-long>] S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>] [B<-help>]
|
|
|
|
|
|
|
|
S<<< B<bos stat -s> <I<machine name>> >>> [-i <I<server process name>>+]
|
|
|
|
[B<-lon>] S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-loc>] [B<-h>]
|
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
The bos status command reports the status of processes on the
|
2005-12-21 00:41:17 +00:00
|
|
|
server machine named by the B<-server> argument, either
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
All of the AFS server processes listed in the
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/local/BosConfig> file
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
Only these processes named by the -instance argument
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-server> <I<machine name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Indicates the server machine for which to report server process
|
|
|
|
status. Identify the machine by IP address or its host name (either
|
2005-12-13 19:21:13 +00:00
|
|
|
fully-qualified or abbreviated unambiguously). For details, see L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item -instance
|
|
|
|
|
|
|
|
Names each process for which to report status. Use the process name
|
|
|
|
assigned with the B<-instance> argument to the B<bos>
|
|
|
|
command. The output from the B<bos status> command lists the
|
|
|
|
names.
|
|
|
|
|
|
|
|
=item -long
|
|
|
|
|
|
|
|
Produces more detailed status information.
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-cell> <I<cell name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Names the cell in which to run the command. Do not combine this
|
2005-12-13 19:21:13 +00:00
|
|
|
argument with the B<-localauth> flag. For more details, see L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-noauth>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Assigns the unprivileged identity C<anonymous> to the
|
2005-12-08 12:14:33 +00:00
|
|
|
issuer. Do not combine this flag with the B<-localauth>
|
2005-12-13 19:21:13 +00:00
|
|
|
flag. For more details, see L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-localauth>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Constructs a server ticket using a key from the local
|
2015-02-27 23:20:19 +00:00
|
|
|
F</usr/afs/etc/KeyFile> or F</usr/afs/etc/KeyFileExt> file. The B<bos> command
|
2005-12-08 12:14:33 +00:00
|
|
|
interpreter presents the ticket to the BOS Server during mutual
|
|
|
|
authentication. Do not combine this flag with the B<-cell> or
|
2005-12-13 19:21:13 +00:00
|
|
|
B<-noauth> options. For more details, see L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Prints the online help for this command. All other valid options
|
|
|
|
are ignored.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 OUTPUT
|
|
|
|
|
|
|
|
The output for a process includes at least one line, which reports one of
|
|
|
|
the following as the process's current status:
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
C<currently running normally>. The process's status
|
|
|
|
flag in the B<BosConfig> file is C<Run>. For
|
|
|
|
B<cron> entries, this message indicates only that the command is
|
|
|
|
scheduled to run, not necessarily that it was executing when the B<bos
|
|
|
|
status> command was issued.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
C<disabled>. The process is not running, and its
|
|
|
|
B<BosConfig> status flag is C<NotRun>.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
C<temporarily disabled>. The process is not running
|
|
|
|
although its status flag in the B<BosConfig> file is
|
|
|
|
C<Run>. Either an administrator used the B<bos
|
|
|
|
shutdown> command to stop it, or the
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
BOS Server stopped trying to restart it after numerous failed
|
|
|
|
attempts. In the second case, the auxiliary message is C<stopped for
|
|
|
|
too many errors>.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
C<temporarily enabled>. The process is running although its
|
|
|
|
status flag in the B<BosConfig> file is C<NotRun>. An
|
|
|
|
administrator has used the B<bos startup> command to start it.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
If one of the following special circumstances applies to the process, the
|
|
|
|
indicated message appears in its entry:
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
C<has core file>. The process failed and created a core
|
2005-12-13 19:21:13 +00:00
|
|
|
file in the F</usr/afs/logs> directory. If the BOS Server was
|
2005-12-08 12:14:33 +00:00
|
|
|
able to restart the process after the failure, the primary status is
|
|
|
|
C<currently running normally>.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
C<stopped for too many errors>. The reason for the primary
|
|
|
|
status C<temporarily disabled> is that the BOS Server's attempts
|
|
|
|
to restart the process all failed.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
The entry for the fs process always includes a second line to
|
|
|
|
report the process's C<Auxiliary status>, which is one of the
|
|
|
|
following:
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
C<file server running>. The File Server and Volume Server
|
|
|
|
components of the File Server process are running normally.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
C<salvaging file system>. The Salvager is running, so the
|
|
|
|
File Server and Volume Server are temporarily disabled. The BOS Server
|
|
|
|
restarts them as soon as the Salvager is finished.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
2005-12-21 00:41:17 +00:00
|
|
|
The entry for a cron process includes an C<Auxiliary
|
2005-12-08 12:14:33 +00:00
|
|
|
status> that reports when the command will next execute.
|
|
|
|
|
|
|
|
If the -long flag is used, each entry includes the following
|
|
|
|
additional information:
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
The process's type (C<simple>, C<fs>, or
|
|
|
|
C<cron>).
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
The day and time the process last started or restarted.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
The number of C<proc starts>, which is how many times the BOS
|
|
|
|
Server has started or restarted the process since it started itself.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
The C<Last exit> time when the process (or one of the component
|
|
|
|
processes in the B<fs> process) last terminated. This line does
|
|
|
|
not appear if the process has not terminated since the BOS Server
|
|
|
|
started.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
The C<Last error exit> time when the process (or one of the
|
|
|
|
component processes in the B<fs> process) last failed due to an
|
|
|
|
error. A further explanation such as C<due to shutdown request>
|
|
|
|
sometimes appears. This line does not appear if the process has not
|
|
|
|
failed since the BOS Server started.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
Each command that the BOS Server invokes to start the process, as
|
|
|
|
specified by the B<-cmd> argument to the B<bos create>
|
|
|
|
command.
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
|
|
|
The pathname of the notifier program that the BOS Server invokes when the
|
|
|
|
process terminates (if any), as specified by the B<-notifier> argument
|
|
|
|
to the B<bos create> command.
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
If the -long flag is provided and the BOS Server discovers that
|
2005-12-13 19:21:13 +00:00
|
|
|
the mode bits on files and subdirectories in the local F</usr/afs>
|
2005-12-08 12:14:33 +00:00
|
|
|
directory differ from the expected values, it prints the following warning
|
|
|
|
message:
|
|
|
|
|
|
|
|
Bosserver reports inappropriate access on server directories
|
|
|
|
|
|
|
|
The following chart summarizes the expected mode bit settings. A
|
|
|
|
question mark indicates that the BOS Server does not check that bit.
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
The following example command displays the status of processes on the
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
machine B<fs3.example.com>:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
% bos status fs3.example.com
|
2005-12-08 12:14:33 +00:00
|
|
|
Instance buserver, currently running normally.
|
|
|
|
Instance kaserver, currently running normally.
|
|
|
|
Instance ptserver, currently running normally.
|
|
|
|
Instance vlserver, currently running normally.
|
|
|
|
Instance fs, has core file, currently running normally.
|
|
|
|
Auxiliary status is: file server running.
|
|
|
|
Instance upserver, currently running normally.
|
|
|
|
|
|
|
|
The following example command displays a detailed status report for the
|
|
|
|
B<fs> and B<ptserver> processes on the machine
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
B<fs1.example.com>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
% bos status -server fs1.example.com -instance fs ptserver -long
|
2005-12-08 12:14:33 +00:00
|
|
|
Instance fs, (type is fs), currently running normally.
|
|
|
|
Auxiliary status is: file server running.
|
|
|
|
Process last started at Wed Jan 7 5:34:49 1998 (3 proc starts)
|
2005-12-21 00:41:17 +00:00
|
|
|
Last exit at Wed Jan 7 5:34:49 1998
|
|
|
|
Last error exit at Wed Jan 7 5:34:49 1998, due to shutdown
|
2005-12-08 12:14:33 +00:00
|
|
|
request
|
|
|
|
Command 1 is '/usr/afs/bin/fileserver'
|
|
|
|
Command 2 is '/usr/afs/bin/volserver'
|
|
|
|
Command 3 is '/usr/afs/bin/salvager'
|
|
|
|
Instance ptserver, (type is simple) currently running normally.
|
|
|
|
Process last started at Tue Jan 6 8:29:19 1998 (1 proc starts)
|
|
|
|
Command 1 is '/usr/afs/bin/ptserver'
|
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2006-02-27 20:46:25 +00:00
|
|
|
L<BosConfig(5)>,
|
|
|
|
L<KeyFile(5)>,
|
2015-02-27 23:20:19 +00:00
|
|
|
L<KeyFileExt(5)>,
|
2005-12-13 19:21:13 +00:00
|
|
|
L<bos(8)>,
|
|
|
|
L<bos_create(8)>,
|
|
|
|
L<bos_shutdown(8)>,
|
|
|
|
L<bos_startup(8)>,
|
|
|
|
L<bos_status(8)>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
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.
|