[LINUX:24348] Re: Ping atma ve loglari tutma

---------

New Message Reply About this list Date view Thread view Subject view Author view

From: Ilker Gokhan (IlkerG@sumerbank.com.tr)
Date: Wed 24 Jan 2001 - 12:57:53 EET


Merhaba,

bunun icin ozel bir seye gerek yok. (Linux disinda!!)
#crontab -e
59 * * * * /path/to/script (hergun saat basi calistir)

script:
#!/bin/sh

ping -c 5 router_ip > log_dosyasi

(executable yapmayi unutma..)
Eger Redhat veya Slakware kullaniyorsan logrotate ile log_dosyasini gunluk
olarak isimlendirebilirsin yada > yerine >> ile append saglayabilirsin.

Kolay gelsin..
Ilker G.

> -----Özgün İleti-----
> Kimden: Ahmet HIZLI [mailto:ahizli@cc.ciu.edu.tr]
> Tarih: Wednesday, January 24, 2001 9:57 AM
> Kime: Multiple recipients of list LINUX
> Konu: [LINUX:24337] Ping atma ve loglari tutma
>
>
>
>
> Merhaba,
> ben belli sureler arasinda ruter'e ping atip o response verip
> vermedigini
> ogrenmek istiyorum. Ayrica bu resposu da log gibi bir dosyaya
> yazdirmak
> istiyorum. Boylece her hafta veya gun sonunda ruter ile
> ilgili bir bilgi
> tutmak istiyorum boyle bir program biliyormusunuz. Programin
> calismasi icin
> herhangi bir operating system olabilir.
>
> Yardimlariniz icin simdiden cok tesekkurler.
>
>
>
>
> Ahmet HIZLI
> System Analyst
> Cyprus International University
> Tel: (+90) 392 223 49 00
> Fax: (+90) 392 223 49 01
>
>
>
> Listeden cikmak icin:
> unsub linux
> mesajini listeci@bilkent.edu.tr adresine gonderiniz.
> Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
> Listeci arayuzu:
> http://listweb.bilkent.edu.tr/yardim/bilkent/linux.html
> Liste arsivinin adresi: http://listweb.bilkent.edu.tr/
>

Bu e-postada bulunan tüm fikir ve görüşler ve ekindeki dosyalar sadece adres
sahib(ler)ine ait olup, Sümerbank A.Ş hiç bir şekilde sorumlu tutulamaz.
The information contained in this E-Mail and any files transmitted with it
are intended solely for the use of the individual or entity to whom they are
addressed and do not reflect those of Sumerbank A.S.

 
 Listeden cikmak icin:
          unsub linux
 mesajini listeci@bilkent.edu.tr adresine gonderiniz.
   Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
 Listeci arayuzu: http://listweb.bilkent.edu.tr/yardim/bilkent/linux.html
 Liste arsivinin adresi: http://listweb.bilkent.edu.tr/


New Message Reply About this list Date view Thread view Subject view Author view

---------

Bu arsiv hypermail 2b29 tarafindan uretilmistir.