On 22:33 24 Jan 2002, Brian Lee <[EMAIL PROTECTED]> wrote:
| How can I check CPU load by kernel modules?

>From outside, in userland, not easily.

| There are many
| kernel modules which is running now in my Linux machine but
| the CPU load is always closed to zero. For examples, I use
| sound, ethernet card, usb port, net filter for masqeurade,
| and some filesystem modules now. 
| 
| Do kernel modules require only small CPU time and the CPU 
| load is always zero? I just wonder..... 

You're misreading this.

There are many kernel modules _loaded_. They may well be idle.

Kernel modules are merely piece of the kernel not built in, but attached
later. In other respects they're not really different to the rest of
the kernel.  Things are modules, mostly, for one of two reasons:

        - they're a 3rd party add on, not part of the core kernel source tree

        - they're one of a large set of modules (eg a driver for a particular
          soundcard or ethernet card)
          it is very wasteful of memory to build all the possible modules for
          all the cards into the kernel (when you'll only ever use the one or
          two needed for your particular card), so these are usually modules
          so that just the needed code is loaded

Having lots of modules loaded means little of itself. Don't worry about it.
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

If UNIX is the revenge of the nerds, the rest of the industry is the football
team and the cheerleading squad trying to produce a science project, and
expecting to get an 'A' because they're the football team and the
cheerleading squad.     - Fred Trottelhauer <[EMAIL PROTECTED]>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to