1The following is a demonstration of the topsysproc program,
2
3
4Here 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
23The screen refreshes every 1 second, which can be changed by specifying
24a different interval at the command line.
25
26In the above output we can see that processes with the name "mozilla-bin"
27made 819 system calls, while processes with the name "clear" made 122.
28
29
30
31Now 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
57