Display packed files information by using the cachefspack -i command.
$ cachefspack -i[v] filename |
-i |
Specifies that you want to view information about your packed files. |
-v |
Is the verbose option. |
cached-filename-or-directory |
Specifies the name of the file or directory for which to display information. |
The following example shows that the doc_file file is successfully packed.
$ cachefspack -i doc_file cachefspack: file doc_file marked packed YES, packed YES |
In the following example, the /data/abc directory contains the bin subdirectory. The bin subdirectory has three files: big, medium, and small. Although the big and small files are specified to be packed, they are not. The medium file is successfully packed.
$ cd /data/abc $ cachefspack -i bin . . . cachefspack: file /bin/big marked packed YES, packed NO cachefspack: file /bin/medium marked packed YES, packed YES cachefspack: file /bin/small marked packed YES, packed NO . . . |
If you use the -iv options together, you get additional information as to whether the file or directory specified has been flushed from the cache. For example:
$ cd /data/bin $ cachefspack -iv bin . . . cachefspack: file /bin/big marked packed YES, packed NO, nocache YES cachefspack: file /bin/medium marked packed YES, packed YES, nocache NO cachefspack: file /bin/small marked packed YES, packed NO nocache NO . . . |
The last line of the preceding example shows that the directory contents have not been flushed from the cache.