ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Yuri Bushmelev <jay4mail@gmail.com>
To: "Anatol B. Bazyukin" <A.Bazyukin@gmail.com>,
	ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Проверка работоспособности доступа в интернет
Date: Sun, 17 May 2009 18:48:04 +0400
Message-ID: <200905171848.05058.jay4mail@gmail.com> (raw)
In-Reply-To: <1329007401.20090517183757@gmail.com>

В сообщении от Воскресенье 17 мая 2009 Anatol B. Bazyukin написал(a):
> Здравствуйте.
>
> Имеем  adsl  доступ  в  интернет.  Сотрудники жалуются на исчезновение
> доступа в нерабочее время :))
> Каким  простейшим способом можно получить состояние канала с записью в
> лог-файл?

что-то типа:

while true; do
	ping your.next.hop.ip 2>&1 >> /var/tmp/ping.log
	sleep 60
done

Ну или вот ту строчку с пингом запихать в cron.

-- 
С уважением,
Бушмелев Юрий

  reply	other threads:[~2009-05-17 14:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-17 14:37 Anatol B. Bazyukin
2009-05-17 14:48 ` Yuri Bushmelev [this message]
2009-05-18 14:31   ` Michael Shigorin
2009-05-17 15:21 ` Anton Gorlov
2009-05-19  5:03 ` Sergey

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=200905171848.05058.jay4mail@gmail.com \
    --to=jay4mail@gmail.com \
    --cc=A.Bazyukin@gmail.com \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git