.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "FSTRACE_SETLOG 8" .TH FSTRACE_SETLOG 8 2024-02-03 OpenAFS "AFS Command Reference" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME fstrace_setlog \- Sets the size of a trace log .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBfstrace setlog\fR [\fB\-log\fR\ <\fIlog\ name\fR>+] \fB\-buffersize\fR\ <\fI1\-kilobyte\ units\fR> [\fB\-help\fR] .PP \&\fBfstrace setl\fR [\fB\-l\fR\ <\fIlog\ name\fR>+] \fB\-b\fR\ <\fI1\-kilobyte\ units\fR> [\fB\-h\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBfstrace setlog\fR command defines the number of kilobytes of kernel memory allocated for the \f(CW\*(C`cmfx\*(C'\fR trace log. If kernel memory is currently allocated, the command clears the current log and creates a new log buffer of the specified size. .PP To display the current defined size of the log buffer, issue the \fBfstrace lslog\fR command with the \fB\-long\fR argument. To control whether the indicated amount of space is actually allocated, use the \fBfstrace setset\fR command to set the status of the \f(CW\*(C`cm\*(C'\fR event set; to display the event set's status, use the \fBfstrace lsset\fR command. .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-log\fR <\fIlog name\fR>+" 4 .IX Item "-log +" Names trace log for which to set the size. The only acceptable value is \f(CW\*(C`cmfx\*(C'\fR, which is also the default if this argument is omitted. .IP "\fB\-buffersize\fR <\fI1\-kilobyte units\fR>" 4 .IX Item "-buffersize <1-kilobyte units>" Specifies the number of 1\-kilobyte blocks of kernel memory to allocate for the trace log. .IP \fB\-help\fR 4 .IX Item "-help" Prints the online help for this command. All other valid options are ignored. .SH EXAMPLES .IX Header "EXAMPLES" The following command allocated 80 KB of kernel memory for the \f(CW\*(C`cmfx\*(C'\fR trace log: .PP .Vb 1 \& # fstrace setlog \-log cmfx \-buffersize 80 .Ve .SH "PRIVILEGE REQUIRED" .IX Header "PRIVILEGE REQUIRED" The issuer must be logged in as the local superuser \f(CW\*(C`root\*(C'\fR. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBfstrace\fR\|(8), \&\fBfstrace_lslog\fR\|(8), \&\fBfstrace_lsset\fR\|(8), \&\fBfstrace_setset\fR\|(8) .SH COPYRIGHT .IX Header "COPYRIGHT" IBM Corporation 2000. All Rights Reserved. .PP 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.