ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@alt-linux.org>
To: Altlinux <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: Время проведенное в Inet'e
Date: Sun Nov  4 01:23:06 2001
Message-ID: <20011104013003.E1821@localhost.localdomain> (raw)
In-Reply-To: <20011102164504.A546@monster>

Hello Pankratov,

On Fri, Nov 02, 2001 at 04:45:04PM +0300, Pankratov Artem wrote:
>
> Здраствуйте,
> 
> Для того чтобы контролировать время проведенное в Internet
> я пытаюсь записывать в Log данные: дата, время ..., которые генерит
> в стандартный лог pppd после отключения в виде:
> Oct 30 06:16:02 monster pppd[585]: Connect time 12.3 minutes.
> для этого я в конец скрипта /etc/sysconfig/network-scripts/ifdown-post
> добавил следующую строчку: tac /var/log/messages |grep "Connect time"
> |uniq -f 5 -w 3 |cut -d " " -f1,3,4,7,8,9 >>/var/log/Inet,
> но в лог пишется две идентичные записи вместо одной.
> Кто подскажет как это дело правильно обустроить?

Лень сейчас разбираться в опциях, но если вы делаете uniq, а после
этого вырезаете какие-то поля, разве вырезки не могут получаться
одинаковыми?

-- 
Stay tuned,
  MhZ                                     JID: mookid@jabber.org
___________
Majorities, of course, start with minorities.
		-- Robert Moses



  reply	other threads:[~2001-11-04  1:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-02 16:43 [mdk-re] " Pankratov Artem
2001-11-04  1:23 ` Mikhail Zabaluev [this message]
2001-11-05 15:15   ` [mdk-re] " Michael Shigorin
2001-11-05  7:52 ` [mdk-re] ÷ÒÅÍÑ ÐÒÏ×ÅÄÅÎÎÏÅ × Inet'e Russu V.F.
2001-11-05 11:31   ` [mdk-re] win attack Merenkov Vl
2001-11-05 11:51     ` Peter V. Saveliev

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=20011104013003.E1821@localhost.localdomain \
    --to=mhz@alt-linux.org \
    --cc=mandrake-russian@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