Controlling the Display of Warning and Informational Messages
| Chapter 10. Administering Client Machines and the Cache Manager |

## Controlling the Display of Warning and Informational Messages

By default, the Cache Manager generates two types of warning and informational messages:

- It sends user messages, which provide user-level status and warning information, to user screens.

- It sends console messages, which provide system-level status and warning information, to the client machine's designated console.

You can use the fs messages command to control whether the Cache Manager displays either type of message, both types, or neither. It is best not to disable messages completely, because they provide useful information.

If you want to monitor Cache Manager status and performance more actively, you can use the afsmonitor program to collect an extensive set of statistics (it also gathers File Server statistics). If you experience performance problems, you can use fstrace suite of commands to gather a low-level trace of Cache Manager operations, which the AFS Support and Development groups can analyze to help solve your problem. To learn about both utilities, see Monitoring and Auditing AFS Performance.

### To control the display of warning and status messages

1. Become the local superuser root on the machine, if you are not already, by issuing the su command.

          % su root
          Password: <root_password>

2. Issue the fs messages command, using the -show argument to specify the type of messages to be displayed.

          # fs messages -show <user|console|all|none>

   where

   me

     Is the shortest acceptable abbreviation of messages.

   -show

     Specifies the types of messages to display. Choose one of the following values:

     user

       Sends user messages to user screens.

     console

       Sends console messages to the console.

     all

       Sends user messages to user screens and console messages to the console (the default if the -show argument is omitted).

     none

       Disables messages completely.

Managing Multihomed Client Machines |  | Displaying and Setting the System Type Name