From: Eugene Ostapets <support@unisoft.com.ua>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Статистика использования памяти
Date: Sun, 02 Nov 2003 13:18:41 +0200
Message-ID: <3FA4E811.5050107@unisoft.com.ua> (raw)
In-Reply-To: <20031102083740.GA1872@home-pool4-108.com2com.ru>
Yura Zotov пишет:
> Решил я собрать статистику использования памяти и понял, что
> ничего не понимаю.
>
> Почему-то в /proc/meminfo нет параметра "использовано памяти",
> зато есть куча других, из которых мне понятны только три
> MemTotal, SwapTotal и SwapFree. Например сейчас показывается что
> у меня из гигабайта свободно всего 300 мегабайт памяти, хотя все
> запущенные приложения не могут столько занимать. При этом gkrellm
> сообщает, что занято "на самом деле" всего 240 мегабайт. Откуда он
> это берёт я тоже не понимаю.
>
> Если верить в свободные 300, то пора покупать память, если в
> занятые 240, то не пора. Так как же это всё понимать? Как из
> параметров в /proc/meminfo сделать правильные выводы? Где бы
> почитать и разобраться?
>
> Заранее спасибо за помощь.
>
> --
> Юрий А. Зотов
>
В ядра 2.4 исповедуется Сановский принцип: свободная память - потерянная
память. Т.е. из вывода команды free:
eugene@master ~ $ free
total used free shared buffers cached
Mem: 192400 187592 4808 0 9984 54948
-/+ buffers/cache: 122660 69740
Swap: 506008 7252 498756
Размер свободной памяти явлется суммой free+cached.
--
С уважением,
Евгений Остапец
+380 44 459 28 79
http://www.unisoft.com.ua
next prev parent reply other threads:[~2003-11-02 11:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-02 8:37 Yura Zotov
2003-11-02 11:18 ` Eugene Ostapets [this message]
2003-11-02 15:25 ` [sisyphus] Re: [JT] " Michael Shigorin
2003-11-02 21:13 ` Eugene Ostapets
2003-11-02 19:03 ` [sisyphus] " Yura Zotov
2003-11-02 23:24 ` Yura Zotov
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=3FA4E811.5050107@unisoft.com.ua \
--to=support@unisoft.com.ua \
--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