From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f2a83596538d1fb5 X-Google-Attributes: gid1164f8,public From: denham@denham.zk3.dec.com (Jeffrey M. Denham) Subject: Re: [kernel idle] Date: 1995/09/18 Message-ID: <1995Sep18.182630.20021@decvax.dec.com>#1/1 X-Deja-AN: 110326643 sender: usenet@decvax.dec.com (Usenet News System) references: organization: Digital Equipment Corporation reply-to: denham@zk3.dec.com (Jeffrey M. Denham) newsgroups: comp.sys.dec In article , 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