I have posted the code.  It is not in the tar file so you will have to
copy and paste it into a text file.
HTTPparse is located at http://frontiertech.ca/software.php
Undocumented link to the PHP scrip I'm working is at
http://frontiertech.ca/a123/transfer.php
It calculates the Kb/s between updates. Updates are dependent on how often
the script run (current every 5min).  It only shows received bytes at this
time.  There is no label but I think the top of the graph is 100kb/s.
 
************************************************************************

www.frontiertech.ca
Free Open Source Software for Data Aquisition and Data Mining.

************************************************************************

On Thu, 19 Sep 2002, Binh Do wrote:

> Hi Jason, Eric and Charles,
> 
> Thank you guys for all useful info. I will look at Jason's code when he
> sends me and see if I can make something out of it. The way I understand is
> that the data from the command Eric wrote below ("ip -s link show ppp0")
> will represent the data calculated from when the machine is up and never got
> reset if we do not do anything. It must be very big after sometime, right?
> Mine looks like that
> 
> # ip -s link show eth0
> 7: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:20:af:d9:14:e3 brd ff:ff:ff:ff:ff:ff
>     RX: bytes  packets  errors  dropped overrun mcast   
>     1684047309 7243074  0       0       0       0      
>     TX: bytes  packets  errors  dropped carrier collsns 
>     375562570  4917437  0       0       0       2769   
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Eric Wolzak [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 18, 2002 2:40 PM
> To: Binh Do
> Subject: Re: [leaf-user] Data statistics on Dachstein
> 
> 
> You can see the amount of bytes  incomeing and outgoing with the ip -s link
> show 
> "interfacename"  
> 
> 
>  ip -s link show ppp0
> 16: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1492 qdisc pfifo_fast qlen 
> 3
>     link/ppp
>     RX: bytes  packets  errors  dropped overrun mcast
>     13167444   18555    0       0       0       0
>     TX: bytes  packets  errors  dropped carrier collsns
>     1586297    16948    0       0       0       0
> 
> 
> This is  independent of the "flavour" Dachstein bering, oxygen"-
> 
> You could create a cron script that with the use of the mail command mails
> this to you 
> in several intervals.
> So you could have a "hourely" /weekly statistics.
> I don't know if there is a way to reset the counter
> 
> Regards 
> Eric Wolzak 
> member of the bering crew
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ------------------------------------------------------------------------
> leaf-user mailing list: [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
> 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to