Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / fstrace_lslog.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3fstrace_lslog - Displays information about a log
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<fstrace lslog> S<<< [B<-set> <I<set name>>+] >>>
11 S<<< [B<-log> <I<log name>>] >>>
12 [B<-long>] [B<-help>]
13
14B<fstrace lsl> S<<< [B<-s> <I<set name>>+] >>>
15 S<<< [B<-log> <I<log name>>] >>>
16 [B<-lon>] [B<-h>]
17
18=for html
19</div>
20
21=head1 DESCRIPTION
22
23The B<fstrace lslog> command reports whether the C<cmfx> log is available
24for use. If the B<-long> argument is included, the output reports the
25log's defined size, and whether that amount of space is currently
26allocated in kernel memory or not.
27
28To change the C<cmfx> trace log's size, use the B<fstrace setlog>
29command. To display or set whether space is allocated for it in kernel
30memory, use the B<fstrace lsset> or B<fstrace setset> command to display
31or set the state of the corresponding C<cm> event set, respectively.
32
33=head1 OPTIONS
34
35=over 4
36
37=item B<-set> <I<set name>>+
38
39Names the event set for which to display information about the
40corresponding trace log. The only acceptable value is C<cm> (for which the
41associated trace log is C<cmfx>). Provide either this argument or the
42B<-log> argument, or omit both to display information about the C<cmfx>
43log by default.
44
45=item B<-log> <I<log name>>
46
47Names the trace log about which to report. The only acceptable value is
48C<cmfx>. Provide either this argument or the B<-set> argument, or omit
49both to report on the C<cmfx> log by default.
50
51=item B<-long>
52
53Reports the defined size of the log in kilobyte units and whether that
54amount of space is currently allocated in kernel memory.
55
56=item B<-help>
57
58Prints the online help for this command. All other valid options are
59ignored.
60
61=back
62
63=head1 OUTPUT
64
65By default, the B<fstrace lslog> command displays only the name of the
66available log, C<cmfx>, in the following format:
67
68 Available logs:
69 cmfx
70
71When the B<-long> flag is included, the output also reports the defined
72size of the log in kilobytes, and whether or not that amount of space is
73currently allocated in kernel memory, in the following format:
74
75 Available logs:
76 cmfx : <log_size> kbytes (allocated | unallocated)
77
78The C<allocated> state indicates that the indicated number of kilobytes is
79reserved for the C<cmfx> trace log in kernel memory. The C<cm> event set's
80state is either C<active> or C<inactive>, as reported by the B<fstrace
81lsset> command, and set by the B<fstrace setset> command's B<-active> or
82B<-inactive> flags respectively.
83
84The C<unallocated> state indicates that no kernel memory is currently
85reserved for the C<cmfx> trace log. The B<cm> event set's state is
86C<dormant>, as reported by the B<fstrace lsset> command and set by the
87B<fstrace setset> command's B<-dormant> flag. If the event set's state is
88later changed to active or inactive, the number of kilobytes indicated as
89<log_size> are again allocated in kernel memory.
90
91=head1 EXAMPLES
92
93The following example uses the -long flag to display information
94about the C<cmfx> log:
95
96 # fstrace lslog -log cmfx -long
97 Available logs:
98 cmfx : 60 kbytes (allocated)
99
100=head1 PRIVILEGE REQUIRED
101
102The issuer must be logged in as the local superuser C<root>.
103
104=head1 SEE ALSO
105
106L<fstrace(8)>,
107L<fstrace_lsset(8)>,
108L<fstrace_setlog(8)>
109
110=head1 COPYRIGHT
111
112IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
113
114This documentation is covered by the IBM Public License Version 1.0. It was
115converted from HTML to POD by software written by Chas Williams and Russ
116Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.