ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@anti-leasure.ru>
To: community@altlinux.ru
Subject: [Comm] Re: wanted: CPU load watch daemon
Date: Mon, 2 Aug 2004 19:41:35 +0400
Message-ID: <20040802154135.GA2978@lks.home> (raw)
In-Reply-To: <410E0FCE.6010205@yauza.ru>

Hi Pavel!

Monday 02, at 01:56:30 PM you wrote:

> Часто бывает что нагрузка на сервер резко возрастает, причем происходит это 
> эпизодически, войти в этот момент на сервер по ssh бывает проблематично, а 
> когда ssh таки срабатывает увидеть виновника загрузки CPU по top уже 
> нельзя, о былой нагрузке говорят только значения load average.  Да и вообще 
> не всегда удается заметить эти вспелски.
> Отсюда вопрос нет ли у кого-нибудь на примете демона, который бы считал 
> нагрузку на CPU и при "проседании" сервера писал в лог имя виновника?
> Можно конечно написать что-нибудь на bash с вызовами vmstat и top, но 
> как-то не кошерно, да и сам по себе такой скрипт будет запаздывать.
можно monit в этом случае использовать. Правда, он отслеживает только те
процессы, что указаны, а не сам ищет, что "просело". Либо
поискать/написать плагин для nagios, который дергает vmstat и выполняет
определенные команды после этого (например запускает top).

-- 
WBR, Konstantin	      chat with ==>ICQ: 109916175
     Lepikhov,	      speak  to ==>JID: lakostis@jabber.org
aka L.A. Kostis       write  to ==>mailto:lakostis@pisem.net.nospam

...The information is like the bank... 			  (c) EC8OR


  parent reply	other threads:[~2004-08-02 15:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-02  9:56 [Comm] " Pavel S. Khmelinsky
2004-08-02 14:29 ` Andy Gorev
2004-08-02 20:34   ` Pavel S. Khmelinsky
2004-08-02 15:41 ` Konstantin A. Lepikhov [this message]
2004-08-02 20:35   ` [Comm] " Pavel S. Khmelinsky
2004-08-02 20:50     ` Konstantin A. Lepikhov
2004-08-02 20:54       ` Pavel S. Khmelinsky

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=20040802154135.GA2978@lks.home \
    --to=lakostis@anti-leasure.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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