System Administration Guide: Devices and File Systems

ProcedureHow to Display Packed Files Information

  1. Display packed files information.


    $ cachefspack -i[v] cached-filename-or-directory
    
    -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.


Example 19–9 Displaying Packed Files Information

The following example shows that the doc_file file has been 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
FSCACHEPACK-4$ 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 this example shows that the directory contents have not been flushed from the cache.