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