Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

multiple kprocs 1

Status
Not open for further replies.

stawolg

Technical User
Sep 25, 2001
28
DE
On my single processor workstation I have 6 kprocs:
PID TTY TIME CMD
0 - 0:10 swapper
516 - 141:56 kproc
774 - 0:00 kproc
1032 - 1:29 kproc
1828 - 0:00 kproc
7998 - 0:00 kproc
8256 - 0:00 kproc

Where do they come from?
 
One kproc for each processor. The process accumulates clock cycles for idle cpu's.
 
There are several kprocs, and they do a number of things.
Often they have fixed priority and will run ahead of any user
processes.

A couple are
Kproc Kernel (wait) wait process
Kproc Kernel (lrud) Least Recently Used Daemon (mem mgmt)
Kproc Kernal (swapper) Memory/Process swapping ?
Kproc Kernel (kbiod) Kernel Block I/O daemon (disk I/O)?
kproc Kernel ( gil) 1032 Networking off-level stuff
Kproc Kernel (netm) Network memory allocator

A kproc is a kernel process, started by the kernel on behalf of either
another kernel process, or as a result of an application initiating a system
call or call to a kernel service.


Wait - You will find that the "wait" kproc will have accumulated a lot of
cpu time. This just means your system is idle a lot. When nothing
else needs to run, the wait kproc is charged the time slice

GIL -
"Global ISR List" ISR->Interrupt Service Routines - multithreaded kproc
runs at fixed pri of 37 Used to process various timers (tcp, streams, ....) and
also used to pass packets from demux layer to IP layer for non-CDLI drivers.

ps -lk
The processes with nice value of -- are running with fixed priorities. Their
nice values can not be changed. On my system that would processes such as
swapper (pid=0, pri=16) and the wait kproc (pid=514, pri=127).

This will list out all the kprocs. Now do a
pstat -a to find what they really are?
This will show you the real name of the kproc.

Good luck and hope that helped?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top