Jump to content
Sign in to follow this  
anyweb

my internet traffic

Recommended Posts

have a look :)

post-1-1132949216.jpg

Share this post


Link to post
Share on other sites
have a look :)

 

Wow, you sure do get some traffic :D.

 

Just out of interest, is that Windows Server 2003 or just XP with Windows Classic theme?

 

I would love to have a play with and learn Windows Server, but I just can't afford to spend all the money on it, then there are all the licensing issues. That was one of my motivations of getting Linux a few years ago, so I could do real server stuff. I mean, Microsoft have released Visual Studio 2005 Express Editions, why not Windows Server Express editions (with limits on number of connections etc).

 

I want to remain cross-platform obviously (I'm not contemplating getting rid of Linux ;) I don't think I ever will now), but it would be nice to see and use Microsoft's server stuff first hand and compare it to good old Linux.

 

Knowing both platforms is always good, as it makes you more employable (apparently, I'm only 15) :).

Share this post


Link to post
Share on other sites

that is windows 2003 entreprise edition

 

cheers

 

anyweb

Share this post


Link to post
Share on other sites

hrmm.. script + ifconfig .. and i could produce similar results ;)

Share this post


Link to post
Share on other sites

hmm correct me if i'm wrong but doesnt the ifconfig for inet traffic loop around 4 GB or so,

 

[anyweb@www ~]$ /sbin/ifconfig

eth0 Link encap:Ethernet HWaddr 00:06:5B:02:02:7E

inet addr:192.168.0.128 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::206:5bff:fe02:27e/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:25246118 errors:2 dropped:0 overruns:25 frame:2

TX packets:31574704 errors:0 dropped:0 overruns:0 carrier:15

collisions:103626 txqueuelen:1000

RX bytes:2769159334 (2.5 GiB) TX bytes:3375803390 (3.1 GiB)

Interrupt:11 Base address:0xec80

 

[anyweb@www ~]$ w

21:21:45 up 54 days, 9:43, 4 users, load average: 0.00, 0.00, 0.00

at least it does on my server

 

so how could you script it given the looping ?

 

cheers

anyweb

Share this post


Link to post
Share on other sites

Yes, true. The counter in the ifconfig "overflows", its not a reset. This is due to the fact that its stored in a 32-bit integer (which have a max value of 4,294,967,295). Hence you can easily work it out and handle this :)

 

For instance, last count say "4294967293" next count "32", its easy to see that it overflowed, now of course you could argue that its reset (i.e. the network stopped and restarted) but you can set an easy enough check, say check the errors etc etc, if they have zero'd as well then its a fair guess that its reset.

 

Anyhoo ^_^

 

hmm correct me if i'm wrong but doesnt the ifconfig for inet traffic loop around 4 GB or so,

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...