NAME

bos_status - Displays the status of server processes

SYNOPSIS

bos status -server <machine name> [-instance <server process name>+] [-long] [-cell <cell name>] [-noauth] [-localauth] [-principal <authentication principal> [-encrypt [<yes|no>]] [-config <configuration file>] [-help]

DESCRIPTION

The bos status command reports the status of processes on the server machine named by the -server argument, either

OPTIONS

-server <machine name>

Indicates the server machine for which to report server process status. Identify the machine by IP address or its host name (either fully-qualified or abbreviated unambiguously). For details, see bos(8).

-instance

Names each process for which to report status. Use the process name assigned with the -instance argument to the bos command. The output from the bos status command lists the names.

-long

Produces more detailed status information.

-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 /etc/yfs/server/KeyFileExt 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).

-principal <authentication principal>

Indicates the principal to be used for authentication. This option can be useful when several credentials caches are available for different principals.

-encrypt [<yes|no>]

Enables or disables encryption for the command so that the operation's results are not transmitted across the network in clear text.

-verbose

Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and error messages appear.

-config <configuration file>

Sets the location of the configuration file to be used. The default file is /etc/yfs/yfs-client.conf.

-help

Prints the online help for this command. All other valid options are ignored.

OUTPUT

The output for a process includes at least one line, which reports one of the following as the process's current status:

If one of the following special circumstances applies to the process, the indicated message appears in its entry:

The entry for the fs process always includes a second line to report the process's Auxiliary status, which is one of the following:

The entry for a cron process includes an Auxiliary status that reports when the command will next execute.

If the -long flag is used, each entry includes the following additional information:

If the -long flag is provided and the BOS Server discovers that the mode bits on files and subdirectories in the local /usr/afs 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.

EXAMPLES

The following example command displays the status of processes on the machine fs3.example.com:

   % bos status fs3.example.com
   Instance buserver, 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 dafs and ptserver processes on the machine fs1.example.com.

   % bos status -server fs1.example.com -instance dafs ptserver -long
   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)
      Last exit at Wed Jan 7 5:34:49 1998
      Last error exit at Wed Jan 7 5:34:49 1998, due to shutdown
          request
      Command 1 is '/usr/local/libexec/yfs/fileserver'
      Command 2 is '/usr/local/libexec/yfs/volserver'
      Command 3 is '/usr/local/libexec/yfs/salvageserver'
      Command 4 is '/usr/local/libexec/yfs/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/local/libexec/yfs/ptserver'

PRIVILEGE REQUIRED

None

SEE ALSO

BosConfig(5), KeyFileExt(5), bos(8), bos_create(8), bos_shutdown(8), bos_startup(8), bos_status(8)

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.

ACKNOWLEDGEMENTS

"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)

"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)

The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).

"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).

"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.