initial-html-documentation-20010606
[openafs.git] / doc / html / AdminReference / auarf143.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
2 <HTML><HEAD>
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records  ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID      -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30                -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
10 </HEAD><BODY>
11 <!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
12 <BODY bgcolor="ffffff"> 
13 <!-- End Header Records  ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <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> 
17 <P>
18 <H2><A NAME="HDRFS_GETCACHEPARMS" HREF="auarf002.htm#ToC_157">fs getcacheparms</A></H2>
19 <A NAME="IDX4825"></A>
20 <A NAME="IDX4826"></A>
21 <A NAME="IDX4827"></A>
22 <A NAME="IDX4828"></A>
23 <A NAME="IDX4829"></A>
24 <A NAME="IDX4830"></A>
25 <A NAME="IDX4831"></A>
26 <A NAME="IDX4832"></A>
27 <P><STRONG>Purpose</STRONG>
28 <P>Displays the current size of the cache and the amount being used
29 <P><STRONG>Synopsis</STRONG>
30 <PRE><B>fs getcacheparms</B> [<B>-help</B>]
31    
32 <B>fs getca</B> [<B>-h</B>]
33 </PRE>
34 <P><STRONG>Description</STRONG>
35 <P>The <B>fs getcacheparms</B> command displays the current size of the
36 cache (which can be in memory or on disk), and the amount currently in
37 use.
38 <P>The reported statistics are from kernel memory, so the reported size can
39 differ from the setting specified in the <B>/usr/vice/etc/cacheinfo</B>
40 file on a machine using a disk cache, if the <B>fs setcachesize</B>
41 command has been used to alter cache size.
42 <P><STRONG>Options</STRONG>
43 <DL>
44 <P><DT><B>-help
45 </B><DD>Prints the online help for this command. All other valid options
46 are ignored.
47 </DL>
48 <P><STRONG>Output</STRONG>
49 <P>The output reports
50 <PRE>   AFS using <VAR>amount used</VAR> of the cache's available <VAR>size</VAR> 1K byte blocks.
51    
52 </PRE>
53 <P>where <VAR>amount used</VAR> is the number of kilobyte blocks currently used
54 to cache data and status information, and <VAR>size</VAR> is the total current
55 cache size.
56 <P><STRONG>Examples</STRONG>
57 <P>The following example shows the output on a machine with a 25000 kilobyte
58 cache.
59 <PRE>   % <B>fs getcacheparms</B>
60    AFS using 22876 of the cache's available 25000 1K byte blocks.
61    
62 </PRE>
63 <P><STRONG>Privilege Required</STRONG>
64 <P>None
65 <P><STRONG>Related Information</STRONG>
66 <P><A HREF="auarf158.htm#HDRFS_SETCACHESIZE">fs setcachesize</A>
67 <P>
68 <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> 
69 <!-- Begin Footer Records  ========================================== -->
70 <P><HR><B> 
71 <br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A>  All Rights Reserved 
72 </B> 
73 <!-- End Footer Records  ============================================ -->
74 <A NAME="Bot_Of_Page"></A>
75 </BODY></HTML>