Re: Some more kernel stats...

Marcel J.E. Mol (marcel@mesa.nl)
Wed, 1 Apr 1998 23:54:47 +0200 (MET DST)


Lately, Sander van Malssen announced:
>
> Hi people,
>
> I was thinking of adding some more interesting fields to /proc/stat,
> starting with a syscall counter, as demonstrated below. Now this happens
> to require 1 line of assembly, so I'd appreciate it if some kind souls
> could give me versions for the non-i386 platforms. (It's so trivial that
> even I could probably work it out by looking at some code, but I'd
> rather not place it by accident at some inconvenient spot or something.)
>
> BTW, any other stats that someone would like to see? (Perhaps we could
> finally crack that ancient interrupt-handling-reported-as-idle-time
> bug somehow.)

While at it, why not add a counter per system call?

-Marcel

-- 
     ======--------         Marcel J.E. Mol                MESA Consulting B.V.
    =======---------        ph. 015-3101310/06-54724868    P.O. Box 9
    =======---------        marcel@mesa.nl                 2270 AA  Voorburg
__==== www.mesa.nl ---____U_n_i_x______I_n_t_e_r_n_e_t____ The Netherlands ____

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu