Controlling the Display of Warning and Informational Messages

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

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>



    Is the shortest acceptable abbreviation of messages.


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


    Sends user messages to user screens.


    Sends console messages to the console.


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


    Disables messages completely.