1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="fstrace_lslog8">
4 <refentrytitle>fstrace lslog</refentrytitle>
5 <manvolnum>8</manvolnum>
8 <refname>fstrace lslog</refname>
9 <refpurpose>Displays information about a log</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">fstrace lslog</emphasis> [<emphasis role="bold">-set</emphasis> <<emphasis>set name</emphasis>>+] [<emphasis role="bold">-log</emphasis> <<emphasis>log name</emphasis>>]
14 [<emphasis role="bold">-long</emphasis>] [<emphasis role="bold">-help</emphasis>]</para>
16 <para><emphasis role="bold">fstrace lsl</emphasis> [<emphasis role="bold">-s</emphasis> <<emphasis>set name</emphasis>>+] [<emphasis role="bold">-log</emphasis> <<emphasis>log name</emphasis>>] [<emphasis role="bold">-lon</emphasis>]
17 [<emphasis role="bold">-h</emphasis>]</para>
21 <title>Description</title>
22 <para>The <emphasis role="bold">fstrace lslog</emphasis> command reports whether the <computeroutput>cmfx</computeroutput> log is available
23 for use. If the <emphasis role="bold">-long</emphasis> argument is included, the output reports the
24 log's defined size, and whether that amount of space is currently
25 allocated in kernel memory or not.</para>
27 <para>To change the <computeroutput>cmfx</computeroutput> trace log's size, use the <emphasis role="bold">fstrace setlog</emphasis>
28 command. To display or set whether space is allocated for it in kernel
29 memory, use the <emphasis role="bold">fstrace lsset</emphasis> or <emphasis role="bold">fstrace setset</emphasis> command to display
30 or set the state of the corresponding <computeroutput>cm</computeroutput> event set, respectively.</para>
34 <title>Options</title>
37 <term><emphasis role="bold">-set</emphasis> <<emphasis>set name</emphasis>>+</term>
39 <para>Names the event set for which to display information about the
40 corresponding trace log. The only acceptable value is <computeroutput>cm</computeroutput> (for which the
41 associated trace log is <computeroutput>cmfx</computeroutput>). Provide either this argument or the
42 <emphasis role="bold">-log</emphasis> argument, or omit both to display information about the <computeroutput>cmfx</computeroutput>
43 log by default.</para>
48 <term><emphasis role="bold">-log</emphasis> <<emphasis>log name</emphasis>></term>
50 <para>Names the trace log about which to report. The only acceptable value is
51 <computeroutput>cmfx</computeroutput>. Provide either this argument or the <emphasis role="bold">-set</emphasis> argument, or omit
52 both to report on the <computeroutput>cmfx</computeroutput> log by default.</para>
57 <term><emphasis role="bold">-long</emphasis></term>
59 <para>Reports the defined size of the log in kilobyte units and whether that
60 amount of space is currently allocated in kernel memory.</para>
65 <term><emphasis role="bold">-help</emphasis></term>
67 <para>Prints the online help for this command. All other valid options are
76 <para>By default, the <emphasis role="bold">fstrace lslog</emphasis> command displays only the name of the
77 available log, <computeroutput>cmfx</computeroutput>, in the following format:</para>
84 <para>When the <emphasis role="bold">-long</emphasis> flag is included, the output also reports the defined
85 size of the log in kilobytes, and whether or not that amount of space is
86 currently allocated in kernel memory, in the following format:</para>
90 cmfx : &lt;log_size&gt; kbytes (allocated | unallocated)
93 <para>The <computeroutput>allocated</computeroutput> state indicates that the indicated number of kilobytes is
94 reserved for the <computeroutput>cmfx</computeroutput> trace log in kernel memory. The <computeroutput>cm</computeroutput> event set's
95 state is either <computeroutput>active</computeroutput> or <computeroutput>inactive</computeroutput>, as reported by the <emphasis role="bold">fstrace
96 lsset</emphasis> command, and set by the <emphasis role="bold">fstrace setset</emphasis> command's <emphasis role="bold">-active</emphasis> or
97 <emphasis role="bold">-inactive</emphasis> flags respectively.</para>
99 <para>The <computeroutput>unallocated</computeroutput> state indicates that no kernel memory is currently
100 reserved for the <computeroutput>cmfx</computeroutput> trace log. The <emphasis role="bold">cm</emphasis> event set's state is
101 <computeroutput>dormant</computeroutput>, as reported by the <emphasis role="bold">fstrace lsset</emphasis> command and set by the
102 <emphasis role="bold">fstrace setset</emphasis> command's <emphasis role="bold">-dormant</emphasis> flag. If the event set's state is
103 later changed to active or inactive, the number of kilobytes indicated as
104 <log_size> are again allocated in kernel memory.</para>
108 <title>Examples</title>
109 <para>The following example uses the -long flag to display information
110 about the <computeroutput>cmfx</computeroutput> log:</para>
113 # fstrace lslog -log cmfx -long
115 cmfx : 60 kbytes (allocated)
120 <title>Privilege Required</title>
121 <para>The issuer must be logged in as the local superuser <computeroutput>root</computeroutput>.</para>
125 <title>See Also</title>
126 <para><link linkend="fstrace8">fstrace(8)</link>,
127 <link linkend="fstrace_lsset8">fstrace_lsset(8)</link>,
128 <link linkend="fstrace_setlog8">fstrace_setlog(8)</link></para>
132 <title>Copyright</title>
133 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
135 <para>This documentation is covered by the IBM Public License Version 1.0. It was
136 converted from HTML to POD by software written by Chas Williams and Russ
137 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>