topsysproc_example.txt   [plain text]


The following is a demonstration of the topsysproc program,


Here we run topsysproc with no arguments,

   # topsysproc
   2005 Jun 13 22:25:16, load average: 1.24, 1.23, 1.21   syscalls: 1347
   
      PROCESS                          COUNT
      svc.startd                           1
      nscd                                 1
      setiathome                           7
      poold                               18
      sshd                                21
      java_vm                             35
      tput                                49
      dtrace                              56
      Xorg                               108
      sh                                 110
      clear                              122
      mozilla-bin                        819

The screen refreshes every 1 second, which can be changed by specifying
a different interval at the command line.

In the above output we can see that processes with the name "mozilla-bin"
made 819 system calls, while processes with the name "clear" made 122.



Now topsysproc is run with a 15 second interval,

   # topsysproc 15
   2005 Jun 13 22:29:43, load average: 1.19, 1.20, 1.20   syscalls: 15909
   
      PROCESS                          COUNT
      fmd                                  1
      inetd                                2
      svc.configd                          2
      gconfd-2                             3
      miniserv.pl                          3
      sac                                  6
      snmpd                                6
      sshd                                 8
      automountd                           8
      ttymon                               9
      svc.startd                          17
      nscd                                21
      in.routed                           37
      sendmail                            41
      setiathome                         205
      poold                              293
      dtrace                             413
      java_vm                            529
      Xorg                              1234
      mozilla-bin                      13071