l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jun 28 09:25

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Measure network usage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Measure network usage?

Shawn P. Neugebauer said:
> I have a few Linux boxes that have uptimes of days to months.  I need
> to try to estimate bandwidth usage for a long-ish period of time (e.g.,
> days or weeks) in order to characterize how much bandwidth I use
> (to decide on level-of-service issues for a new ISP---I have to move :(
> ) .   Is there a way to tell the amount (in bytes) of traffic sent and
> received by a running box?  Is there a simple *non-intrusive* tool that
> might "add a little value" to whatever is built-in?  I'm aware of MRTG,
> and Orca, but these are overkill for this type of problem.

Take a look at the output of /sbin/ifconfig. It should have a line like
RX bytes:2328595615 (2.1 GiB)  TX bytes:3104087047 (2.8 GiB)
or so. Have a script dump the byte counts to a text file once an hour, and
then you can do a little simple analysis with a hand-rolled tool.
No PGP signature because I'm far from home and sending via webmail.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.