2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
fs_getcacheparms - Displays the current size and usage of the cache
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
B<fs getcacheparms> [B<-help>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
B<fs getca> [B<-h>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
</div>
|
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The B<fs getcacheparms> command displays the current size of the cache
|
|
|
|
(which can be in memory or on disk), and the amount currently in use.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
The reported statistics are from kernel memory, so the reported size can
|
2005-12-09 14:48:56 +00:00
|
|
|
differ from the setting specified in the F</usr/vice/etc/cacheinfo> file
|
|
|
|
on a machine using a disk cache, if the B<fs setcachesize> command has
|
|
|
|
been used to alter cache size.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +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 OUTPUT
|
|
|
|
|
|
|
|
The output reports
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
AFS using <amount> of the cache's available <size> 1K byte blocks.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
where <amount> is the number of kilobyte blocks currently used to cache
|
|
|
|
data and status information, and <size> is the total current cache size.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
The following example shows the output on a machine with a 25000 kilobyte
|
|
|
|
cache.
|
|
|
|
|
|
|
|
% fs getcacheparms
|
|
|
|
AFS using 22876 of the cache's available 25000 1K byte blocks.
|
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
|
|
|
None
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<fs_setcachesize(1)>
|
|
|
|
|
|
|
|
=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.
|