Main Topics
Browse All Topics Hi,
Is there a script that will gather the network utilization on my server by ip address with date and time then log it in a file?
ubuntu 8.0.4
Cheers!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I'm looking for sowmthing very simple like the following:
date time foreign local send, receive
2009-10-21, 09:00, 230.12.12.12:80, 9.100.100.100:3030, 20kb, 10kb
2009-10-21, 09:00, 230.12.12.13:80, 9.100.100.100:3031, 20kb, 10kb
2009-10-21, 09:00, 230.12.12.14:80, 9.100.100.100:3032, 20kb, 10kb
I'm looking for a script that can store the network ulitlization in a log file with date and time, this will help me analyze the load curve pattern.
arnold:
the entries provided in my sample is something I came up with. Hope you could give me a hand in solving this net util logging issue. It doesn't have to be exactly the same..
date time foreign local send, receive
2009-10-21, 09:00, 230.12.12.12:80, 9.100.100.100:3030, 20kb, 10kb
2009-10-21, 09:00, 230.12.12.13:80, 9.100.100.100:3031, 20kb, 10kb
2009-10-21, 09:00, 230.12.12.14:80, 9.100.100.100:3032, 20kb, 10kb
You first need to determine on how you get the data. Is this access to a web site? Do you use a proxy for outgoing connections/requests?
The issue is you need to have some source of data which you can then process to extract whatever information you need.
One thing is to get an aggregate network traffic looking at the interface statistics.
1) make sure that your application are setup to log data i.e. requests coming in, responses and how much data was received/transmitted.
First step is to make sure that you have some data being generated by an application that others access or an application that is used internally to gain access to the outside.
The more detail you want the more detail you need from the various applications/appliances (VPN) you use.
Business Accounts
Answer for Membership
by: arnoldPosted on 2009-10-19 at 22:08:04ID: 25611183
Could you provide more detail on what it is you are trying to do.
Using the netstat command you can get information.
using an SNMP polling setup can collect and graph the data.
If this is for a particular service, web, ftp, smtp, etc. crunching the logs of the services could be another option.