]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/nfswizard_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / nfswizard_example.txt
1 The following is a demonstration of the NFS client wizard tool, nfswizard.d,
2
3
4
5    # nfswizard.d
6    Tracing... Hit Ctrl-C to end.
7    ^C
8    NFS Client Wizard. 2005 Dec  2 14:59:07 -> 2005 Dec  2 14:59:14
9    
10    Read:  4591616 bytes (4 Mb)
11    Write: 0 bytes (0 Mb)
12    
13    Read:  640 Kb/sec
14    Write: 0 Kb/sec
15    
16    NFS I/O events:    166
17    Avg response time: 8 ms
18    Max response time: 14 ms
19    
20    Response times (us):
21               value  ------------- Distribution ------------- count
22                 128 |                                         0
23                 256 |                                         1
24                 512 |@@@                                      14
25                1024 |@                                        4
26                2048 |@@@@@@@                                  30
27                4096 |@@@@@                                    20
28                8192 |@@@@@@@@@@@@@@@@@@@@@@@                  97
29               16384 |                                         0
30    
31    Top 25 files accessed (bytes):
32       PATHNAME                                                         BYTES
33       /net/mars/var/tmp/adm/vold.log                                   4096
34       /net/mars/var/tmp/adm/uptime                                     4096
35       /net/mars/var/tmp/adm/mail                                       4096
36       /net/mars/var/tmp/adm/authlog.5                                  4096
37       /net/mars/var/tmp/adm/ftpd                                       12288
38       /net/mars/var/tmp/adm/spellhist                                  16384
39       /net/mars/var/tmp/adm/messages                                   16384
40       /net/mars/var/tmp/adm/utmpx                                      20480
41       /net/mars/var/tmp/adm/ftpd.2                                     20480
42       /net/mars/var/tmp/adm/ftpd.3                                     20480
43       /net/mars/var/tmp/adm/ftpd.1                                     24576
44       /net/mars/var/tmp/adm/ftpd.0                                     24576
45       /net/mars/var/tmp/adm/lastlog                                    28672
46       /net/mars/var/tmp/adm/ipf                                        61440
47       /net/mars/var/tmp/adm/loginlog                                   69632
48       /net/mars/var/tmp/adm/ipf.4                                      73728
49       /net/mars/var/tmp/adm/messages.20040906                          81920
50       /net/mars/var/tmp/adm/ipf.3                                      102400
51       /net/mars/var/tmp/adm/ipf.1                                      110592
52       /net/mars/var/tmp/adm/ipf.5                                      114688
53       /net/mars/var/tmp/adm/ipf.2                                      114688
54       /net/mars/var/tmp/adm/ipf.0                                      122880
55       /net/mars/var/tmp/adm/route.log                                  266240
56       /net/mars/var/tmp/adm/pppd.log                                   425984
57       /net/mars/var/tmp/adm/wtmpx                                      2842624
58
59
60
61 In the above demonstration, we run nfswizard.d for several seconds then hit
62 Ctrl-C. The report contains useful information about NFS client activity,
63 including response time statistics and file access details.
64
65 Note: this is measuring activity caused by NFS client processes (which must
66 be on the same server). It is not examining NFS server processes.
67