Re: getrusage(2) not returning number of context switches! (fwd)

Sachin Garg (sachin@cdacb.ernet.in)
Wed, 25 Nov 1998 20:27:13 +0530 (IST)


On Wed, 25 Nov 1998, Neil Conway wrote:

> Sachin Garg wrote:
> >
> > [...]
> > The parameters I am interested in are :
> >
> > 1) User Time
> > 2) System Time
> > 3) Voluntary Context Switches
> > 4) Involuntary Context Switches
> >
> > I get the first two parameters fine but the Context switch field
> > always remains zero!
>
> The kernel doesn't fill in those fields (even in 2.0.36 and 2.1.129) and
> it seems that this is because it doesn't record that info yet on a
> per-process basis. This is undoubtedly on the wish-list already...

Any ideas as to when it is expected? 2.2.0? Or does it require major
reworking to the kernel code which means 2.4?

sachin

********************************************************************
Sachin Garg Phone: +91-80-5584271/143/982
MTS
C-DAC, Fax: +91-80-5584893
Ramanshree Plaza,
2/1, Brunton Road,
BANGALORE 560 025 http://sangam.cjb.net
INDIA E-mail: sachin@cdacb.ernet.in
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
finger -l sachin@cdacb.ernet.in for PGP public key
*********************************************************************

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/