Home | History | Annotate | Line # | Download | only in Examples
      1  1.1  christos The following is a demonstration of the dnlcstat command.
      2  1.1  christos 
      3  1.1  christos 
      4  1.1  christos Here we run dnlcstat with no options. It prints a line every second,
      5  1.1  christos 
      6  1.1  christos    # dnlcstat
      7  1.1  christos    dnlc  %hit      hit     miss
      8  1.1  christos             0        0        0
      9  1.1  christos             0        0        0
     10  1.1  christos            93       95        7
     11  1.1  christos            89     1920      231
     12  1.1  christos            89     2130      243
     13  1.1  christos            91     2358      232
     14  1.1  christos            92     1476      124
     15  1.1  christos            92     1953      159
     16  1.1  christos            94     2416      134
     17  1.1  christos            94     1962      114
     18  1.1  christos            95     2113      101
     19  1.1  christos            97     1969       54
     20  1.1  christos            98     1489       26
     21  1.1  christos            41      564      786
     22  1.1  christos            40      622      913
     23  1.1  christos            35      520      952
     24  1.1  christos            27      937     2503
     25  1.1  christos            22     1696     5806
     26  1.1  christos            22      955     3281
     27  1.1  christos            21     1377     5059
     28  1.1  christos            31     2043     4516
     29  1.1  christos            22     1423     4968
     30  1.1  christos            13      550     3438
     31  1.1  christos             2       95     3810
     32  1.1  christos             0       58     6410
     33  1.1  christos             4      223     4433
     34  1.1  christos             4      198     4491
     35  1.1  christos             7      339     4383
     36  1.1  christos 
     37  1.1  christos In another window, a "find /" was run. We can see the DNLC activity above,
     38  1.1  christos initially there are high hit rates in the DNLC - over 90%. Eventually
     39  1.1  christos the find command exhausts the DNLC, and the hit rate drops to below 10%. 
     40  1.1  christos 
     41