Chapter 8. Monitoring and Auditing AFS Performance

Table of Contents

Summary of Instructions
Using the scout Program
System Requirements
Using the -basename argument to Specify a Domain Name
The Layout of the scout Display
Highlighting Significant Statistics
Resizing the scout Display
To start the scout program
To stop the scout program
Example Commands and Displays
Using the fstrace Command Suite
About the fstrace Command Suite
Requirements for Using the fstrace Command Suite
Using fstrace Commands Effectively
Activating the Trace Log
To configure the trace log
To set the event set
Displaying the State of a Trace Log or Event Set
To display the state of an event set
To display the log size
Dumping and Clearing the Trace Log
To dump the contents of a trace log
To clear the contents of a trace log
Examples of fstrace Commands
Using the afsmonitor Program
Requirements for running the afsmonitor program
The afsmonitor Output Screens
The System Overview Screen
The File Servers Screen
The Cache Managers Screen
Configuring the afsmonitor Program
Writing afsmonitor Statistics to a File
To start the afsmonitor Program
To stop the afsmonitor program
The xstat Data Collection Facility
The libxstat Libraries
Example xstat Commands
Auditing AFS Events on AIX File Servers
Configuring AFS Auditing on AIX File Servers
To enable AFS auditing
To disable AFS auditing

AFS comes with three main monitoring tools:

AFS also provides a tool for auditing AFS events on file server machines running AIX.

Summary of Instructions

This chapter explains how to perform the following tasks by using the indicated commands:

Initialize the scout programscout
Display information about a trace logfstrace lslog
Display information about an event setfstrace lsset
Change the size of a trace logfstrace setlog
Set the state of an event setfstrace setset
Dump contents of a trace logfstrace dump
Clear a trace logfstrace clear
Initialize the afsmonitor programafsmonitor