Viewing the detailed caching stats for a VxFS cache area

For a VxFS cache area, the statistics do not change after you unmount and mount the file systems. For a cluster file system, the statistics do not change after you reboot the cluster nodes.

To view the detailed caching statistics for a VxFS cache area

  1. Use the following command:
    # sfcache stat sfcachearea_2
    TYPE: VxFS
    NAME: sfcachearea_2
                   Cache Size:    9.97 GB
            Cache Utilization:   1.133 GB (11.37 %)
     File Systems Using Cache:       3
    Writeback Cache Use Limit:       8 GB
      Writeback Flush Timelag:      10 s
    
    Read Cache                                Writeback
    Hit Ratio    Data Read    Data Written    Hit Ratio    Data Written
    
    Total:
       0.00 %         0 KB        195.0 MB     100.00 %         78.0 MB
    
    /mnt1:
       0.00 %         0 KB         78.0 MB     100.00 %         39.0 MB
    
    /mnt2:
       0.00 %         0 KB         39.0 MB       0.00 %            0 KB
    
    /mnt3:
       0.00 %         0 KB         78.0 MB     100.00 %         39.0 MB
  2. To see details, use the -l option:
    # sfcache stat -l
    TYPE: VxFS
    NAME: cachedg_lpr1/cachevol
                   Cache Size:     200 GB
            Cache Utilization:   714.0 MB ( 0.35 %)
    File Systems Using Cache:       5
    Writeback Cache Use Limit:  Unlimited
      Writeback Flush Timelag:     300 s
    
    Read Cache                                                                        Writeback
    Hit Ratio  Data Read  Data Written  Files Cached  Files Pinned Data Pinned  Hit Ratio  Data Written
    Total:
      43.42 %     297 MB        116 MB             6             3        5 MB    34.24 %      200.5 MB
    
    /mnt1:
      43.42 %     297 MB        116 MB             6             3        5 MB    34.24 %      200.5 MB