fstrace - Introduction to the fstrace command suite
The commands in the fstrace command suite are the interface that system administrators employ to trace Cache Manager operations for debugging purposes. Examples of Cache Manager operations are fetching file data or the status information used to produce output for the UNIX ls command.
The fstrace command interpreter defines an extensive set of Cache Manager operations as the cm
event set.
When the event set is activated,
the Cache Manager writes a message to the cmfx
trace log in kernel memory each time it performs one of the defined operations.
The log expands only to a defined size (by default,
60 KB),
after which it is overwritten in a circular fashion (new trace messages overwrite the oldest ones).
If an operation of particular interest occurs,
the administrator can afterward display the log on the standard output stream or write it to a file for later study.
For more specific procedural instructions,
see the OpenAFS Administration Guide.
There are several categories of commands in the fstrace command suite:
Commands to administer or display information about the trace log: fstrace_clear(8), fstrace_lslog(8), and fstrace_setlog(8).
Commands to set or display the status of the event set: fstrace_lsset(8), fstrace_setset(8), and fstrace_changeset(8).
A command to display the contents of the trace log: fstrace_dump(8).
Commands to obtain help: fstrace_apropos(8) and fstrace_help(8).
All fstrace commands accept the following optional flag. It is listed in the command descriptions and described in detail here:
Prints the online help for this command. All other valid options are ignored.
To issue most fstrace commands,
the issuer must be logged on as the local superuser root
on the machine that is generating the trace log.
fstrace_apropos(8), fstrace_changeset(8), fstrace_clear(8), fstrace_dump(8), fstrace_help(8), fstrace_lslog(8), fstrace_lsset(8), fstrace_setlog(8), fstrace_setset(8)
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.
"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.