[lkml]   [2001]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: /proc/stat description for proc.txt
On Thu, Nov 15, 2001 at 04:10:54PM -0500, Sven Heinicke wrote:
> +"ctxt" the contest switches.

The number of _context_ switches since boot, IIUC.

> +"processes" is the number of processes that have run since boot. This
> +includes forks, don't know if it includes threads.

It counts the number of successful fork(), vfork() and clone() system
calls (and other in-kernel calls of do_fork(), which are, e.g. used to
create idle tasks for all CPUs on SMP systems). So, yes, it does
include (kernel level) threads.

(The above is obtained from several greps on 2.4.12 source tree)

Marius Gedminas
main(k){float i,j,r,x,y=-16;while(puts(""),y++<15)for(x
=0;x++<84;putchar(" .:-;!/>)|&IH%*#"[k&15]))for(i=k=r=0;
/* Mandelbrot in ASCII. */
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.127 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site