WSPRINT(8)                                             WSPRINT(8)

     NAME
          wsprint - format kernel wait statistics

     SYNOPSIS
          wsprint [ -t ] kernel < /dev/wsdata

     DESCRIPTION
          Wsprint sorts the wait statistics provided by ws(3) by cumu-
          lative wait and then maximum wait and adds symbol informa-
          tion from kernel. The columns are type , pc , count , maxi-
          mum wait, cumulative wait, and symbol information.  A title
          line printing the headings may be added with the -t flag.

     EXAMPLE
          A DHCP and auth server uses few locks.  The only lock cap-
          tured was cleaning up after the first echo(1) exited.

               tyty# echo start>/dev/wsctl
               tyty# echo stop>/dev/wsctl
               tyty# wsprint -t /n/9fat/9cpu < wsdata
               ltype     pc             count          max wait  tot wait
                         sym
               lock fffffffff01b49aa    1                1096    1096
                         // /sys/src/nix/port/page.c:309 putpage()
               lock fffffffff01186cd    1              324048    324048
                         // /sys/src/nix/port/qmalloc.c:511 free()

     SOURCE
          /sys/src/cmd/wsprint.c

     SEE ALSO
          ws(3)

     Page 1                       Plan 9             (printed 4/20/24)