windows-issues-20050925
[openafs.git] / doc / html / AdminReference / auarf176.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30                -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
10 </HEAD><BODY>
11 <!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
12 <BODY bgcolor="ffffff"> 
13 <!-- End Header Records  ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf175.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf177.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P> 
17 <P>
18 <H2><A NAME="HDRFSTRACE_SETLOG" HREF="auarf002.htm#ToC_190">fstrace setlog</A></H2>
19 <P><STRONG>Purpose</STRONG>
20 <A NAME="IDX5040"></A>
21 <A NAME="IDX5041"></A>
22 <P>Sets the size of a trace log
23 <P><STRONG>Synopsis</STRONG>
24 <PRE><B>fstrace setlog</B> [<B>-log</B> &lt;<VAR>log_name</VAR>><SUP>+</SUP>]  <B>-buffersize</B> &lt;<VAR>1-kilobyte_units</VAR>>  [<B>-help</B>]
25       
26 <B>fstrace setl</B> [<B>-l</B> &lt;<VAR>log_name</VAR>><SUP>+</SUP>]  <B>-b</B> &lt;<VAR>1-kilobyte_units</VAR>>  [<B>-h</B>]
27       
28 <B>fstrace sl</B> [<B>-l</B> &lt;<VAR>log_name</VAR>><SUP>+</SUP>]  <B>-b</B> &lt;<VAR>1-kilobyte_units</VAR>>  [<B>-h</B>]
29 </PRE>
30 <P><STRONG>Description</STRONG>
31 <P>The <B>fstrace setlog</B> command defines the number of kilobytes of
32 kernel memory allocated for the <B>cmfx</B> trace log. If kernel
33 memory is currently allocated, the command clears the current log and creates
34 a new log buffer of the specified size.
35 <P>To display the current defined size of the log buffer, issue the
36 <B>fstrace lslog</B> command with the <B>-long</B> argument. To
37 control whether the indicated amount of space is actually allocated, use the
38 <B>fstrace setset</B> command to set the status of the <B>cm</B> event
39 set; to display the event set's status, use the <B>fstrace
40 lsset</B> command.
41 <P><STRONG>Options</STRONG>
42 <DL>
43 <P><DT><B>-log
44 </B><DD>Names trace log for which to set the size. The only acceptable
45 value is <B>cmfx</B>, which is also the default if this argument is
46 omitted.
47 <P><DT><B>-buffersize
48 </B><DD>Specifies the number of 1-kilobyte blocks of kernel memory to allocate for
49 the trace log.
50 <P><DT><B>-help
51 </B><DD>Prints the online help for this command. All other valid options
52 are ignored.
53 </DL>
54 <P><STRONG>Examples</STRONG>
55 <P>The following command allocated 80 KB of kernel memory for the
56 <B>cmfx</B> trace log:
57 <PRE>   # <B>fstrace setlog -log cmfx -buffersize 80</B>
58     
59 </PRE>
60 <P><STRONG>Privilege Required</STRONG>
61 <P>The issuer must be logged in as the local superuser <B>root</B>.
62 <P><STRONG>Related Information</STRONG>
63 <P><A HREF="auarf169.htm#HDRFSTRACE_INTRO">fstrace</A>
64 <P><A HREF="auarf174.htm#HDRFSTRACE_LSLOG">fstrace lslog</A>
65 <P><A HREF="auarf175.htm#HDRFSTRACE_LSSET">fstrace lsset</A>
66 <P><A HREF="auarf177.htm#HDRFSTRACE_SETSET">fstrace setset</A>
67 <P>
68 <HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf175.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf177.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P> 
69 <!-- Begin Footer Records  ========================================== -->
70 <P><HR><B> 
71 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
72 </B> 
73 <!-- End Footer Records  ============================================ -->
74 <A NAME="Bot_Of_Page"></A>
75 </BODY></HTML>