ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] cron mail
@ 2008-05-29 14:22 Andrii Dobrovol`s`kii
  2008-05-29 14:32 ` Dmitriy Kruglikov
  2008-05-29 20:13 ` Dmitry V. Levin
  0 siblings, 2 replies; 4+ messages in thread
From: Andrii Dobrovol`s`kii @ 2008-05-29 14:22 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

Hi,
Последние пару дней возникла проблема. Крон "мусорит" в почту таким:
Usage: /usr/lib/sa/sadc [ options... ] [ <interval> [ <count> ] ] [
<outfile> ]
Options are:
[ -C <comment> ] [ -S { INT | DISK | ALL } ] [ -F ] [ -L ] [ -V ]
С чего это он? И что исправлять?
-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   525-7824            Department of Gas Electronics
Fax:   (380-44)   525-2329             Institute of Physics of NASU
*********************dobrATjabber.iop.kiev.ua************************


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] cron mail
  2008-05-29 14:22 [sisyphus] cron mail Andrii Dobrovol`s`kii
@ 2008-05-29 14:32 ` Dmitriy Kruglikov
  2008-05-29 20:13 ` Dmitry V. Levin
  1 sibling, 0 replies; 4+ messages in thread
From: Dmitriy Kruglikov @ 2008-05-29 14:32 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] cron mail
  2008-05-29 14:22 [sisyphus] cron mail Andrii Dobrovol`s`kii
  2008-05-29 14:32 ` Dmitriy Kruglikov
@ 2008-05-29 20:13 ` Dmitry V. Levin
  2008-05-30 11:41   ` Andrii Dobrovol`s`kii
  1 sibling, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2008-05-29 20:13 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

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

Вешайте баг на пакет `rpmquery -f /usr/lib/sa/sadc`.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [sisyphus] cron mail
  2008-05-29 20:13 ` Dmitry V. Levin
@ 2008-05-30 11:41   ` Andrii Dobrovol`s`kii
  0 siblings, 0 replies; 4+ messages in thread
From: Andrii Dobrovol`s`kii @ 2008-05-30 11:41 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 847 bytes --]

Dmitry V. Levin пишет:
> On Thu, May 29, 2008 at 05:22:06PM +0300, Andrii Dobrovol`s`kii wrote:
>> Hi,
>> Последние пару дней возникла проблема. Крон "мусорит" в почту таким:
>> Usage: /usr/lib/sa/sadc [ options... ] [ <interval> [ <count> ] ] [
>> <outfile> ]
>> Options are:
>> [ -C <comment> ] [ -S { INT | DISK | ALL } ] [ -F ] [ -L ] [ -V ]
>> С чего это он? И что исправлять?
> 
> Вешайте баг на пакет `rpmquery -f /usr/lib/sa/sadc`.
> 
15849
Как сумел, повесил.
-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   525-7824            Department of Gas Electronics
Fax:   (380-44)   525-2329             Institute of Physics of NASU
*********************dobrATjabber.iop.kiev.ua************************


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-30 11:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-29 14:22 [sisyphus] cron mail Andrii Dobrovol`s`kii
2008-05-29 14:32 ` Dmitriy Kruglikov
2008-05-29 20:13 ` Dmitry V. Levin
2008-05-30 11:41   ` Andrii Dobrovol`s`kii

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