Subject: /kern files
To: None <tech-kern@netbsd.org>
From: Brian C. Grayson <bgrayson@marvin.ece.utexas.edu>
List: tech-kern
Date: 03/06/1999 16:55:30
Are there any restrictions/standards for pseudo-files placed
into /kern? In particular, I'd like to create a new file
(perhaps called "summary") that provides, in one file:
cpu ticks
load
mem used/free
swap used/free
interrupt counts
net in/out
disk in/out (or at least "transferred" -- I don't think we
currently break it down into in and out)
and maybe more. Adding such a file would help decouple things
like systat, top, and xosview from doing as much kernel
munging (and also cut down on the number of syscalls required to
get these stats!).
Brian