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_1
    TYPE: VxFS
    NAME: sfcachearea_1
           Cache Name: sfcachearea_1
                   Cache Size:       5 GB
            Cache Utilization:   1.426 GB (28.51 %)
    File Systems Using Cache:       2
    Writeback Cache Use Limit:  Unlimited
      Writeback Flush Timelag:      10 s
    
    Read Cache                                Writeback
    Hit Ratio  Data Read Data Written Hit Ratio  Data Written  rdcachename  wbcachename
    
    Total:
       7.98 %  157.7 MB  1.545 GB     0.00 %     0 KB
    
    
    /pdb1:
       7.98 %  157.7 MB  1.545 GB     0.00 %     0 KB         sfcachearea_1       -
    
    
    /pdb2:
       0.00 %  0 KB      0 KB         0.00 %     0 KB         sfcachearea_1  sfcachearea_2
  2. To see details, use the -l option:
    # sfcache stat -l
    TYPE: VxFS :
           Cache Name: sfcachearea_2
                   Cache Size:       7 GB
            Cache Utilization:    1.26 GB (18.00 %)
    File Systems Using Cache:       6
    Writeback Cache Use Limit:  Unlimited
      Writeback Flush Timelag:      10 s
    
           Cache Name: sfcachearea_1
                   Cache Size:       5 GB
            Cache Utilization:   1.447 GB (28.94 %)
    File Systems Using Cache:       2
    Writeback Cache Use Limit:  Unlimited
      Writeback Flush Timelag:      10 s
    
    .
    .
    .