ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Serge Ryabchun <sr@energy.uch.net>
To: Sisyphus <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Re: kernel 2.4.18-alt8-up shared memory
Date: Fri, 15 Nov 2002 21:33:34 +0200 (EET)
Message-ID: <Pine.LNX.4.33.0211152123490.21622-100000@kvazar.bank.i-net> (raw)
In-Reply-To: <20021115184450.GA11444@ungrund>

On Fri, 15 Nov 2002, Alexey Tourbin wrote:

> On Fri, Nov 15, 2002 at 08:44:03PM +0200, Serge Ryabchun wrote:
> > > Как я понимаю, сегодня это самое стабильное ядро. У меня вопрос по
> > > shared memory. Команда top показывает "0K shrd" при любых
> > > обстоятельствах. Недавно мне приснилось, что в этих ядрах сломан счетчик
> > > shared memory, в результате чего всегда получается 0. Так ли это на
> > > самом деле? Требуется комментарий.
> > 
> > Он был сломан очень давно. Просто подсчет этой цифры стоит много денег
> > для кернела.
> 
> Есть ли инструменты, чтобы "разово" посмотреть статистику shared memory?
> Эти цифры могут стоить много денег не только для кернела.

Не уверен. Это прогон по кернельным структурам. И ладно, если три десятка
процессов, а если пару тысяч? Разве что попытаться получить _очень_ примерную
цифру по /proc/pid/maps, но она ничего общего с действительностью не будет 
иметь.

А зачем?

-- 
Serge Ryabchun sr@energy.uch.net



  reply	other threads:[~2002-11-15 19:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-15 18:34 [sisyphus] " Alexey Tourbin
2002-11-15 18:44 ` Serge Ryabchun
2002-11-15 18:44   ` [sisyphus] " Alexey Tourbin
2002-11-15 19:33     ` Serge Ryabchun [this message]
2002-11-15 19:33       ` Alexey Tourbin
2002-11-15 19:43         ` Serge Ryabchun
2002-11-16 10:14     ` Egor Cheshkov
2002-11-18 17:33       ` Alexey Tourbin

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=Pine.LNX.4.33.0211152123490.21622-100000@kvazar.bank.i-net \
    --to=sr@energy.uch.net \
    --cc=sisyphus@altlinux.ru \
    /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

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git