Home | History | Annotate | Line # | Download | only in Examples
dnlcps_example.txt revision 1.1
      1  1.1  christos The following is a demonstration of the dnlcps.d script.
      2  1.1  christos 
      3  1.1  christos 
      4  1.1  christos Here we run dnlcps.d for o few seconds, then hit Ctrl-C,
      5  1.1  christos 
      6  1.1  christos    # dnlcps.d
      7  1.1  christos    Tracing... Hit Ctrl-C to end.
      8  1.1  christos    ^C
      9  1.1  christos     CMD: bash             PID: 12508
     10  1.1  christos    
     11  1.1  christos               value  ------------- Distribution ------------- count
     12  1.1  christos                 < 0 |                                         0
     13  1.1  christos                   0 |@@@@@@@@@@@@@@@@                         2
     14  1.1  christos                >= 1 |@@@@@@@@@@@@@@@@@@@@@@@@                 3
     15  1.1  christos    
     16  1.1  christos     CMD: nscd             PID: 109
     17  1.1  christos    
     18  1.1  christos               value  ------------- Distribution ------------- count
     19  1.1  christos                   0 |                                         0
     20  1.1  christos                >= 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 4
     21  1.1  christos    
     22  1.1  christos     CMD: in.routed        PID: 143
     23  1.1  christos    
     24  1.1  christos               value  ------------- Distribution ------------- count
     25  1.1  christos                   0 |                                         0
     26  1.1  christos                >= 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 12
     27  1.1  christos    
     28  1.1  christos     CMD: ls               PID: 12508
     29  1.1  christos    
     30  1.1  christos               value  ------------- Distribution ------------- count
     31  1.1  christos                 < 0 |                                         0
     32  1.1  christos                   0 |@@@                                      2
     33  1.1  christos                >= 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@    22
     34  1.1  christos    
     35  1.1  christos     CMD: find             PID: 12507
     36  1.1  christos    
     37  1.1  christos               value  ------------- Distribution ------------- count
     38  1.1  christos                 < 0 |                                         0
     39  1.1  christos                   0 |@@@@@@@@@@@@@@                           5768
     40  1.1  christos                >= 1 |@@@@@@@@@@@@@@@@@@@@@@@@@@               11263
     41  1.1  christos 
     42  1.1  christos A "find" command was running at the time, which had 11,263 hits on the DNLC
     43  1.1  christos and 5768 misses. An "ls" command scored 22 hits.
     44  1.1  christos 
     45  1.1  christos The above distribution output can help us identify if procesess
     46  1.1  christos are both using the DNLC a lot, and what hit rate they are scoring.
     47  1.1  christos 
     48