LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-17-2003, 05:25 AM   #1
stand
LQ Newbie
 
Registered: Aug 2002
Posts: 23

Rep: Reputation: 15
counting tool


Hi,

Im looking for a tool that can count all the outgoing and incoming bytes get through my NIC. I need a summary of every hour(ie. how much data my pc send out and receive in from 1PM to 2PM) and a summary for the whole day and I also need a graph like MRTG does.
Thanks,

Stand
 
Old 03-17-2003, 05:30 AM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
/sbin/ifconfig shows incoming/outgoing bytes.

about summary of every hour..
i don't know
 
Old 03-17-2003, 02:09 PM   #3
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
i thought about it..
let cron execute ifconfig
and parse out tx, rx every hour
and substract it from the previous one
=)

cheesy, but it will work..
 
Old 08-23-2003, 01:54 AM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
How is it cheesy?

Just because it isn't a tool made specifically for that, doesn't mean you can't adapt/write a script to do the work for you and append its result to a file every hour

Displaying it in a graph would be the tough part, but even that can be done with the results from the first little project.



-Shade
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting Lines ej25 Programming 20 12-06-2004 03:08 PM
Three Years and Counting! trickykid General 9 01-06-2004 07:30 PM
And counting... MasterC General 18 09-24-2003 06:07 AM
counting dummyagain Programming 3 09-24-2003 03:28 AM
counting characters Snake007uk Programming 13 05-10-2002 04:34 PM


All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration