From: Simon Wilkinson Date: Tue, 2 Feb 2010 22:13:45 +0000 (+0000) Subject: Document the extra options to fs getcacheparms X-Git-Tag: openafs-devel-1_5_72~61 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=61af204cf386deaeebf295dda5f9b58ea25fa225;p=packages%2Fo%2Fopenafs.git Document the extra options to fs getcacheparms Write some documentation for the -files and -excessive options to fs getcacheparms Change-Id: I769f8c0cf6d9d100a1687ae73a337132befb2449 Reviewed-on: http://gerrit.openafs.org/1217 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/doc/man-pages/pod1/fs_getcacheparms.pod b/doc/man-pages/pod1/fs_getcacheparms.pod index f65be0f05..a1486fd5d 100644 --- a/doc/man-pages/pod1/fs_getcacheparms.pod +++ b/doc/man-pages/pod1/fs_getcacheparms.pod @@ -7,9 +7,9 @@ fs_getcacheparms - Displays the current size and usage of the cache =for html
-B [B<-help>] +B [B<-help>] [B<-files>] [B<-excessive>] -B [B<-h>] +B [B<-h>] [B<-files>] [B<-excessive>] =for html
@@ -33,6 +33,16 @@ been used to alter cache size. Prints the online help for this command. All other valid options are ignored. +=item B<-files> + +Displays the current number of cache files in use, and the maximum +available, as well as displaying the current cache size. + +=item B<-excessive> + +Displays detailed cache statistics, including the flags set on each +cache element, and the distribution of cache entries by size. + =back =head1 OUTPUT @@ -52,6 +62,33 @@ cache. % fs getcacheparms AFS using 22876 of the cache's available 25000 1K byte blocks. +The following shows the output when asked to show file information. + + % fs getcacheparm -files + AFS using 0% of cache blocks (897 of 200000 1k blocks) + 1% of the cache files (79 of 6250 files) + +And finally, the following detailed information can be obtained by using +the excessive flag + + % fs getcacheparm -excessive + AFS using 0% of cache blocks (897 of 200000 1k blocks) + 1% of the cache files (79 of 6250 files) + afs_cacheFiles: 6250 + IFFree: 6171 + IFEverUsed: 79 + IFDataMod: 0 + IFDirtyPages: 0 + IFAnyPages: 0 + IFDiscarded: 1 + DCentries: 3122 + 0k- 4K: 74 + 4k- 16k: 3045 + 16k- 64k: 2 + 64k- 256k: 0 + 256k- 1M: 1 + >=1M: 0 + =head1 PRIVILEGE REQUIRED None