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; j=r*r-i*i-2+x/25,i=2*r*i+y/10,j*j+i*i<11&&k++<111;r=j);} /* Mandelbrot in ASCII. */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/