ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] Время проведенное в Inet'e
@ 2001-11-02 16:43 Pankratov Artem
  2001-11-04  1:23 ` [mdk-re] " Mikhail Zabaluev
  2001-11-05  7:52 ` [mdk-re] ÷ÒÅÍÑ ÐÒÏ×ÅÄÅÎÎÏÅ × Inet'e Russu V.F.
  0 siblings, 2 replies; 6+ messages in thread
From: Pankratov Artem @ 2001-11-02 16:43 UTC (permalink / raw)
  To: Altlinux

Здраствуйте,

Для того чтобы контролировать время проведенное в 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,
но в лог пишется две идентичные записи вместо одной.
Кто подскажет как это дело правильно обустроить?




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

end of thread, other threads:[~2001-11-05 15:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-02 16:43 [mdk-re] Время проведенное в Inet'e Pankratov Artem
2001-11-04  1:23 ` [mdk-re] " Mikhail Zabaluev
2001-11-05 15:15   ` 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

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