ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Dolgopolov <dmdolg2002@mail.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: [Comm] ulog-acctd и экспорт данных куда-нибудь
Date: Thu, 08 Mar 2007 12:45:16 +0300
Message-ID: <E1HPFBU-000Juz-00.dmdolg2002-mail-ru@f88.mail.ru> (raw)
In-Reply-To: <m3zm7hftc2.fsf@evg.krastel.ru>

Здравствуйте, Сообщество!

Для осуществления экспорта логов куда-нибудь (БД или еще куда...) нужно очищать лог-файл от уже экспортированных данных. Для этого используется, на сколько я понимаю, /sbin/kill -TSTP $pid для остановки записи в лог, перенос файла, и /sbin/kill -CONT $pid для продолжения записи в уже новый файл. В документации написано только:

`SIGTSTP'
     causes `ulog-acctd' to stop writing to the accounting logfile

`SIGCONT'
     causes `ulog-acctd' to re-open both debug and log file and resume
     writing to the account log.

Здесь ничего не говорится про данные которые "проскакивают" между этими думя командами. 

Вопрос. Будут ли данные, полученные после TSTP сигнала, но до CONN сигнала записаны в лог после сигнала CONN, и, если да, то какой объем этих данных может храниться в "буфере" чтобы потом в безутратном состоянии быть записанными в лог-файл?

Заранее спасибо за ответы.

С уважением,
Дмитрий Долгополов.


  reply	other threads:[~2007-03-08  9:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-13 19:27 ` [Comm] Помощь в настройке VPN-подключения ash-aman
2007-02-14  0:58   ` Evgenii Terechkov
2007-03-08  9:45     ` Dmitry Dolgopolov [this message]
2007-02-14  5:35   ` Andrey Rahmatullin

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=E1HPFBU-000Juz-00.dmdolg2002-mail-ru@f88.mail.ru \
    --to=dmdolg2002@mail.ru \
    --cc=community@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 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