Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fstrace(8) [debian man page]

FSTRACE(8)						       AFS Command Reference							FSTRACE(8)

NAME
fstrace - Introduction to the fstrace command suite DESCRIPTION
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: o Commands to administer or display information about the trace log: fstrace clear, fstrace lslog, and fstrace setlog. o Commands to set or display the status of the event set: fstrace lsset and fstrace setset. o A command to display the contents of the trace log: fstrace dump. o Commands to obtain help: fstrace apropos and fstrace help. OPTIONS
All fstrace commands accept the following optional flag. It is listed in the command descriptions and described in detail here: -help Prints a command's online help message on the standard output stream. Do not combine this flag with any of the command's other options; when it is provided, the command interpreter ignores all other options, and only prints the help message. PRIVILEGE REQUIRED
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. SEE ALSO
fstrace_apropos(8), fstrace_clear(8), fstrace_dump(8), fstrace_help(8), fstrace_lslog(8), fstrace_lsset(8), fstrace_setlog(8), fstrace_setset(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. OpenAFS 2012-03-26 FSTRACE(8)

Check Out this Related Man Page

FSTRACE_SETLOG(8)					       AFS Command Reference						 FSTRACE_SETLOG(8)

NAME
fstrace_setlog - Sets the size of a trace log SYNOPSIS
fstrace setlog [-log <log name>+] -buffersize <1-kilobyte units> [-help] fstrace setl [-l <log name>+] -b <1-kilobyte units> [-h] DESCRIPTION
The fstrace setlog command defines the number of kilobytes of kernel memory allocated for the "cmfx" trace log. If kernel memory is currently allocated, the command clears the current log and creates a new log buffer of the specified size. To display the current defined size of the log buffer, issue the fstrace lslog command with the -long argument. To control whether the indicated amount of space is actually allocated, use the fstrace setset command to set the status of the "cm" event set; to display the event set's status, use the fstrace lsset command. OPTIONS
-log <log name>+ Names trace log for which to set the size. The only acceptable value is "cmfx", which is also the default if this argument is omitted. -buffersize <1-kilobyte units> Specifies the number of 1-kilobyte blocks of kernel memory to allocate for the trace log. -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command allocated 80 KB of kernel memory for the "cmfx" trace log: # fstrace setlog -log cmfx -buffersize 80 PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser "root". SEE ALSO
fstrace(8), fstrace_lslog(8), fstrace_lsset(8), fstrace_setset(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. OpenAFS 2012-03-26 FSTRACE_SETLOG(8)
Man Page