]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/fddist_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / fddist_example.txt
1 The following is a demonstration of the fddist command,
2
3
4 Here fddist is run for a few seconds on an idle workstation,
5
6    Tracing reads and writes... Hit Ctrl-C to end.
7    ^C
8    EXEC: dtrace           PID: 3288
9    
10               value  ------------- Distribution ------------- count
11                   0 |                                         0
12                   1 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
13                   2 |                                         0
14    
15    EXEC: mozilla-bin      PID: 1659
16    
17               value  ------------- Distribution ------------- count
18                   3 |                                         0
19                   4 |@@@@@@@@@@                               28
20                   5 |                                         0
21                   6 |@@@@@@@@@@@@@@@                          40
22                   7 |@@@@@@@@@@@@@@@                          40
23                   8 |                                         0
24    
25    EXEC: Xorg             PID: 1532
26    
27               value  ------------- Distribution ------------- count
28                  22 |                                         0
29                  23 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 57
30                  24 |                                         0
31
32 The above displays the usage pattern for process file descriptors.
33 We can see the Xorg process (PID 1532) has made 57 reads or writes to
34 it's file descriptor 23. 
35
36 The pfiles(1) command can be used to help determine what file 
37 descriptor 23 actually is.
38