Home | History | Annotate | Line # | Download | only in Examples
      1  1.1  christos The following is a demonstration of the syscallbysysc.d script,
      2  1.1  christos 
      3  1.1  christos    # syscallbysysc.d
      4  1.1  christos    dtrace: description 'syscall:::entry ' matched 228 probes
      5  1.1  christos    ^C
      6  1.1  christos      fstat                                                             1
      7  1.1  christos      setcontext                                                        1
      8  1.1  christos      lwp_park                                                          1
      9  1.1  christos      schedctl                                                          1
     10  1.1  christos      mmap                                                              1
     11  1.1  christos      sigaction                                                         2
     12  1.1  christos      pset                                                              2
     13  1.1  christos      lwp_sigmask                                                       2
     14  1.1  christos      gtime                                                             3
     15  1.1  christos      sysconfig                                                         3
     16  1.1  christos      write                                                             4
     17  1.1  christos      brk                                                               6
     18  1.1  christos      pollsys                                                           7
     19  1.1  christos      p_online                                                        558
     20  1.1  christos      ioctl                                                           579
     21  1.1  christos 
     22  1.1  christos In the above output, the ioctl system call was the most common, occuring
     23  1.1  christos 579 times.
     24  1.1  christos 
     25