openafs/doc/html/AdminReference/auarf143.htm

76 lines
3.8 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
<HTML><HEAD>
<TITLE>Administration Reference</TITLE>
<!-- Begin Header Records ========================================== -->
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
</HEAD><BODY>
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
<BODY bgcolor="ffffff">
<!-- End Header Records ============================================ -->
<A NAME="Top_Of_Page"></A>
<H1>Administration Reference</H1>
<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="auarf142.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="auarf144.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>
<P>
<H2><A NAME="HDRFS_GETCACHEPARMS" HREF="auarf002.htm#ToC_157">fs getcacheparms</A></H2>
<A NAME="IDX4825"></A>
<A NAME="IDX4826"></A>
<A NAME="IDX4827"></A>
<A NAME="IDX4828"></A>
<A NAME="IDX4829"></A>
<A NAME="IDX4830"></A>
<A NAME="IDX4831"></A>
<A NAME="IDX4832"></A>
<P><STRONG>Purpose</STRONG>
<P>Displays the current size of the cache and the amount being used
<P><STRONG>Synopsis</STRONG>
<PRE><B>fs getcacheparms</B> [<B>-help</B>]
<B>fs getca</B> [<B>-h</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>fs getcacheparms</B> command displays the current size of the
cache (which can be in memory or on disk), and the amount currently in
use.
<P>The reported statistics are from kernel memory, so the reported size can
differ from the setting specified in the <B>/usr/vice/etc/cacheinfo</B>
file on a machine using a disk cache, if the <B>fs setcachesize</B>
command has been used to alter cache size.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-help
</B><DD>Prints the online help for this command. All other valid options
are ignored.
</DL>
<P><STRONG>Output</STRONG>
<P>The output reports
<PRE> AFS using <VAR>amount used</VAR> of the cache's available <VAR>size</VAR> 1K byte blocks.
</PRE>
<P>where <VAR>amount used</VAR> is the number of kilobyte blocks currently used
to cache data and status information, and <VAR>size</VAR> is the total current
cache size.
<P><STRONG>Examples</STRONG>
<P>The following example shows the output on a machine with a 25000 kilobyte
cache.
<PRE> % <B>fs getcacheparms</B>
AFS using 22876 of the cache's available 25000 1K byte blocks.
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>None
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf158.htm#HDRFS_SETCACHESIZE">fs setcachesize</A>
<P>
<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="auarf142.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="auarf144.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>
<!-- Begin Footer Records ========================================== -->
<P><HR><B>
<br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
</B>
<!-- End Footer Records ============================================ -->
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>