73be4264cf0dbd4e0cfb16d64fbf8eb0731f0b11
[openafs.git] / src / man / fs_getcacheparms.1
1 fs getcacheparms           AFS Commands        fs getcacheparms
2
3
4 NAME
5
6    fs  getcacheparms -- show  current  size  of data cache and
7
8                        amount being used.
9
10
11    fs getcacheparms  [-help]
12
13 ACCEPTABLE ABBREVIATIONS/ALIASES
14
15    fs getca  [-h]
16
17 DESCRIPTION
18
19    Displays the current  size  of  the  cache  that  the  Cache
20    Manager  has  at its disposal, and the amount it is using at
21    the moment the command is issued.  The command works both on
22    machines  using  a memory cache and on machines using a disk
23    cache.
24
25    This information comes from the kernel of the workstation on
26    which  the  command  is  issued.    On machines using a disk
27    cache, the current cache size may disagree with the  default
28    setting  specified  in  the file /usr/vice/etc/cacheinfo, if
29    someone has set it with the fs setcachesize command.
30
31 ARGUMENTS
32
33    -help           prints  the  online  help  entry  for   this
34                    command.  Do not provide any other arguments
35                    or flags with this one.  See section 3.1  in
36                    the Reference Manual for more details.
37
38 OUTPUT
39
40    The output is of the form
41
42        AFS using <amount> of the cache's available <size> 1
43           blocks.
44
45    where  <amount>  is  the  number of 1K byte blocks the Cache
46    Manager is currently using, and <size> the total  number  of
47    blocks  available  to  the  Cache Manager (the current cache
48    size).
49
50 EXAMPLES
51
52    The following shows the output on a  machine  with  a  25000
53    kilobyte cache.
54
55        % fs getca
56        AFS using 22876 of the cache's available 25000 1K by
57           blocks.
58
59
60
61 PRIVILEGE REQUIRED
62
63    None.
64
65 MORE INFORMATION
66
67    fs setcachesize