Re: [Linux-ag] ethernet byte degerleri

---------

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

From: Onur Kucuk (onur@kablonet.com.tr)
Date: Wed 27 Oct 2004 - 02:24:19 EEST


On Mon, 25 Oct 2004 11:39:07 +0300
"Alper Oguz" <alper.oguz@mer.bimar.com.tr> wrote:

> Selam,
>
> Malum adsl'de 3/5 GB kullanimlik tarifeler basladi. ifconfig sagolsun
> RX bytes ve TX bytes degerlerini veriyor. Ama bunlari okuyup bir
> dosyaya yazan bir script yazmam gerek. Ondan sonra script'i network
> stop bölümünün basina ekleyip eth0'in her kapanisindan once kaydetmek
> istiyorum.
>
> Kolay bir yol onerebilecek var mi yoksa php'nin script komutlarina
> dalayim mi? :)

ifconfig eth0|grep bytes|awk '{print "RX: "$3$4"\tTX:"$7$8}'>>dosya

 ise yarar mi ? :)

-- 
 Onur Kucuk                                        Knowledge speaks,   
 <onur.--.-.kablonet.com.tr>                       but wisdom listens  

_______________________________________________ Linux-ag mailing list Linux-ag@liste.linux.org.tr http://liste.linux.org.tr/mailman/listinfo/linux-ag


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

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.