Table of ContentsView in Frames

Displaying usage and access information for WAFL external cache

You can display usage and access information for WAFL external cache, have output produced periodically, and terminate the output after a specified number of iterations.

Step

  1. Enter the following command:
    stats show -p flexscale-access [-i interval] [-n num]

    • If no options are used, a single one-second snapshot of statistics is used.
    • -i  interval specifies that output is to be produced periodically, with an interval of interval seconds between each set of output.
    • -n  num terminates the output after num number of iterations, when the -i option is also used.

      If no num value is specified, the output runs forever until a user issues a break.

    • Press Ctrl-c to interrupt output.

    Example

    The following example shows sample output from the stats show -p flexscale-access command:

    Cache                                      Reads       Writes    Disk Read
    Usage Hit Meta Miss Hit Evict Inval Insrt Chain Blcks Chain Blcks Replcd
       %   /s  /s   /s   %   /s    /s      /s    /s    /s    /s     /s    /s
       0  581   0   83  87    0   604   13961   579   581   218  13960   552
       0  777   0  133  85    0   121   21500   773   777   335  21494   744
       0  842   0   81  91    0  1105   23844   837   842   372  23845   812
       0  989   0  122  89    0     0   23175   981   989   362  23175   960

    Example

    The following command displays access and usage information for WAFL external cache once every 10 seconds for 5 times:

    stats show -p flexscale-access -i 10 -n 5