public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marius Gedminas <mgedmin@centras.lt>
To: linux-kernel@vger.kernel.org
Subject: Re: /proc/stat description for proc.txt
Date: Thu, 15 Nov 2001 23:51:21 +0200	[thread overview]
Message-ID: <20011115235121.B4624@gintaras> (raw)
In-Reply-To: <15347.57175.887835.525156@abasin.nj.nec.com> <20011115115939.I5739@lynx.no> <15348.8974.587924.655924@abasin.nj.nec.com> <20011115133734.P5739@lynx.no> <15348.10494.577151.173831@abasin.nj.nec.com> <je7ksriwah.fsf@sykes.suse.de> <15348.12126.264831.627333@abasin.nj.nec.com>
In-Reply-To: <15348.12126.264831.627333@abasin.nj.nec.com>

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;
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. */

  reply	other threads:[~2001-11-15 21:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-15 15:29 /proc/stat description for proc.txt Sven Heinicke
2001-11-15 18:59 ` Andreas Dilger
2001-11-15 20:18   ` Sven Heinicke
2001-11-15 20:37     ` Andreas Dilger
2001-11-15 20:43       ` Sven Heinicke
2001-11-15 21:00         ` Andreas Schwab
2001-11-15 21:10           ` Sven Heinicke
2001-11-15 21:51             ` Marius Gedminas [this message]
2001-11-16 16:50   ` Anthony DeRobertis
2001-11-20 23:02 ` Jorge Nerin
2001-11-21 15:47   ` Sven Heinicke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011115235121.B4624@gintaras \
    --to=mgedmin@centras.lt \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox