Subject: Re: bin/20316: systat interrupt counters
To: David Laight <david@l8s.co.uk>
From: Johnny Billquist <bqt@update.uu.se>
List: netbsd-bugs
Date: 02/17/2003 14:46:17
On Mon, 17 Feb 2003, David Laight wrote:

> > Well, it's a hack... It improves things slightly, but isn't really a good
> > solution. Someone who have a good idea on how these strings are to be used
> > should tell, and then we should do it that way. As it stands now, we're a
> > bit inconsistent between ports, and systat shouldn't try to accomodate for
> > that. It's like fixing the symptoms instead of the problem.
> 
> Try the attached patch?
> It stirs the field about a bit...

Felt kindof odd with the new layout, but I can probably get used to it.
Here is how it looks on my machine:

    5 users    Load  2.17  2.35  2.28                  Mon Feb 17 14:39:32

Proc:r  d  s  w    Csw   Trp   Sys  Int  Sof   Flt            PAGING   SWAPPING
     2  1 13        23    18    31  104    1    12            in  out   in  out
                                                      ops
   2.1% Sy  97.1% Us   0.8% Ni   0.0% In   0.0% Id    pages
|    |    |    |    |    |    |    |    |    |    |
=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>                        forks
                                                                          fkppw
          memory totals (in kB)              105 Interrupts               fksvm
         real   virtual    free                  uba0 intr                pwait
Active  22376     59808    3856                  mtc0 intr                relck
All     45168     82600  166420                  uda0 intr                rlkok
                                               4 de0 intr                 noram
Namei         Sys-cache     Proc-cache           dmf0 arintr              ndcpy
    Calls     hits    %     hits     %           dmf0 axintr              fltcp
        6        6  100                          mtc1 intr                zfod
                                                 uda1 intr                cow
Discs  ra0  ra1  ra2  ra3  ra4  ra5            1 soft net              64 fmin
seeks                                            soft clock            85 ftarg
xfers                                        100 clock intr          3180 itarg
bytes                                                                 413 wired
%busy                                                                     pdfre



So basically, it works fine. All the neccesary parts of the strings are
visible.
And I don't think I'll see strings much longer than these.

	Johnny

Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt@update.uu.se           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol