2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
fstrace setlog - Sets the size of a trace log
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<fstrace setlog> S<<< [B<-log> <I<log name>>+] >>>
|
|
|
|
S<<< B<-buffersize> <I<1-kilobyte units>> >>> [B<-help>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<fstrace setl> S<<< [B<-l> <I<log name>>+] >>> S<<< B<-b> <I<1-kilobyte units>> >>> [B<-h>]
|
|
|
|
|
|
|
|
B<fstrace sl> S<<< [B<-l> <I<log name>>+] >>> S<<< B<-b> <I<1-kilobyte units>> >>> [B<-h>]
|
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The B<fstrace setlog> command defines the number of kilobytes of kernel
|
|
|
|
memory allocated for the C<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.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
To display the current defined size of the log buffer, issue the B<fstrace
|
|
|
|
lslog> command with the B<-long> argument. To control whether the
|
|
|
|
indicated amount of space is actually allocated, use the B<fstrace setset>
|
|
|
|
command to set the status of the C<cm> event set; to display the event
|
|
|
|
set's status, use the B<fstrace lsset> command.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-log> <I<log name>>+
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Names trace log for which to set the size. The only acceptable
|
2005-12-13 19:21:13 +00:00
|
|
|
value is C<cmfx>, which is also the default if this argument is
|
2005-12-08 12:14:33 +00:00
|
|
|
omitted.
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-buffersize> <I<1-kilobyte units>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the number of 1-kilobyte blocks of kernel memory to allocate for
|
|
|
|
the trace log.
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Prints the online help for this command. All other valid options are
|
|
|
|
ignored.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The following command allocated 80 KB of kernel memory for the C<cmfx>
|
|
|
|
trace log:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
# fstrace setlog -log cmfx -buffersize 80
|
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The issuer must be logged in as the local superuser C<root>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
L<fstrace(8)>,
|
|
|
|
L<fstrace_lslog(8)>,
|
|
|
|
L<fstrace_lsset(8)>,
|
|
|
|
L<fstrace_setset(8)>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 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.
|