]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/topsysproc_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / topsysproc_example.txt
1 The following is a demonstration of the topsysproc program,
2
3
4 Here we run topsysproc with no arguments,
5
6    # topsysproc
7    2005 Jun 13 22:25:16, load average: 1.24, 1.23, 1.21   syscalls: 1347
8    
9       PROCESS                          COUNT
10       svc.startd                           1
11       nscd                                 1
12       setiathome                           7
13       poold                               18
14       sshd                                21
15       java_vm                             35
16       tput                                49
17       dtrace                              56
18       Xorg                               108
19       sh                                 110
20       clear                              122
21       mozilla-bin                        819
22
23 The screen refreshes every 1 second, which can be changed by specifying
24 a different interval at the command line.
25
26 In the above output we can see that processes with the name "mozilla-bin"
27 made 819 system calls, while processes with the name "clear" made 122.
28
29
30
31 Now topsysproc is run with a 15 second interval,
32
33    # topsysproc 15
34    2005 Jun 13 22:29:43, load average: 1.19, 1.20, 1.20   syscalls: 15909
35    
36       PROCESS                          COUNT
37       fmd                                  1
38       inetd                                2
39       svc.configd                          2
40       gconfd-2                             3
41       miniserv.pl                          3
42       sac                                  6
43       snmpd                                6
44       sshd                                 8
45       automountd                           8
46       ttymon                               9
47       svc.startd                          17
48       nscd                                21
49       in.routed                           37
50       sendmail                            41
51       setiathome                         205
52       poold                              293
53       dtrace                             413
54       java_vm                            529
55       Xorg                              1234
56       mozilla-bin                      13071