ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitriy Kruglikov" <dmitriy.kruglikov@gmail.com>
To: "ALT Linux Sisyphus discussions" <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] cron mail
Date: Thu, 29 May 2008 17:32:26 +0300
Message-ID: <6c7be88d0805290732x34b5b7e1k64f31f9d7b4b6808@mail.gmail.com> (raw)
In-Reply-To: <483EBC0E.5010203@iop.kiev.ua>

29 мая 2008 г. 17:22 пользователь Andrii Dobrovol`s`kii  написал:
> Hi,
> Последние пару дней возникла проблема. Крон "мусорит" в почту таким:
> Usage: /usr/lib/sa/sadc [ options... ] [ <interval> [ <count> ] ] [
> <outfile> ]
> Options are:
> [ -C <comment> ] [ -S { INT | DISK | ALL } ] [ -F ] [ -L ] [ -V ]
> С чего это он? И что исправлять?
Перестало понимать ключик (вроде как -d )

Я исправил (не долго думая) в самом конце /usr/lib/sa/sa1
if [ $# = 0 ] && [ "$BOOT" = "n" ]
then
# Note: Stats are written at the end of previous file *and* at the
# beginning of the new one (when there is a file rotation) only if
# outfile has been specified as '-' on the command line...
        exec ${ENDIR}/sadc -F -L 1 1 -
else
        exec ${ENDIR}/sadc -F -L 1 1 -
fi

Предупреждаю, думал действительно не долго, потому как было чем
заниматься, а сообщения в почту достали.

Совет может быть плохим...


-- 
Best regards,
 Dmitriy L. Kruglikov
 Dmitriy.Kruglikov_at_gmail_dot_com
 DKR6-RIPE
 DKR6-UANIC
 XMPP: Dmitriy.Kruglikov_at_gmail_dot_com

  reply	other threads:[~2008-05-29 14:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-29 14:22 Andrii Dobrovol`s`kii
2008-05-29 14:32 ` Dmitriy Kruglikov [this message]
2008-05-29 20:13 ` Dmitry V. Levin
2008-05-30 11:41   ` Andrii Dobrovol`s`kii

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=6c7be88d0805290732x34b5b7e1k64f31f9d7b4b6808@mail.gmail.com \
    --to=dmitriy.kruglikov@gmail.com \
    --cc=sisyphus@lists.altlinux.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

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