Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: denham@denham.zk3.dec.com (Jeffrey M. Denham)
Subject: Re: [kernel idle]
Date: 1995/09/18	[thread overview]
Message-ID: <1995Sep18.182630.20021@decvax.dec.com> (raw)
In-Reply-To: DEstv4.A1x@news.cern.ch


In article <DEstv4.A1x@news.cern.ch>, pmarcel <pmarcel> writes:
|>Hello,
|>
|>on axp with OSF1 3.2 when we do 
|>a ps -ef we have a process
|>
|>       USER       PID  PPID %CPU STARTED  TTY             TIME COMMAND
|>root         0     0  0.0 09:17:49 ??           1:19.68 [kernel idle]
|>
|>
|>we can guess that it is the kernel but which process exactly ?
|>do you have some details of it ?
|>it has a lot of cpu time !
|>
|>thanks a lot.
|>		Philippe-
|>
|>

The Digital UNIX kernel is based on Mach 2.5, which is a multithreaded
OS.

[kernel idle] is "task 0." It's a Mach task that contains all the
kernel's threads. These threads perform such duties as I/O completion,
network protocol, processing, binary error logging, and so on.
If you ps -mp you'll see the individual computes for each kernel thread.
If dbx -k /vmunix and

(dbx) set $pid=0
(dbx) tstack

You'll see at the base of each stack, the system routine the thread
is running. Sometimes you can get a hint about the thread's actvity
from the routine name ;^).

-- 

-----------------------------------------------------------------------------
Jeff Denham, Unix Software Group, Digital Equipment Corporation
email: denham@zk3.dec.com, voice: (603) 881-0057



      reply	other threads:[~1995-09-18  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-12  4:00 [kernel idle] pmarcel
1995-09-18  4:00 ` Jeffrey M. Denham [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox