Results 1 to 10 of 10
Hi, I have to write scripts in linux server to get the network traffic and network failure and log them in a file. Can anyone give me some help how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-24-2011 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 85
How to know the network traffic in a linux server
Hi, I have to write scripts in linux server to get the network traffic and network failure and log them in a file. Can anyone give me some help how to do this..
Thanks in advance
- 02-24-2011 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
- 02-25-2011 #3Just Joined!
- Join Date
- Dec 2006
- Posts
- 8
- 02-25-2011 #4
THIS might be a starting place.
- 02-25-2011 #5Linux Newbie
- Join Date
- Dec 2010
- Posts
- 146
netstat --statistics maybe...
- 02-25-2011 #6Just Joined!
- Join Date
- Oct 2009
- Posts
- 85
Thnx for the help, if Im using a linux server on what parameter generally we decide the network traffic is it the number of packets recieved and transmitted or is there any other..
- 02-25-2011 #7Linux Newbie
- Join Date
- Dec 2010
- Posts
- 146
I think it's the rate that matters. If you're on X, you can try system monitor or ksysguard... however these are heavy graphical packages.
The netstats command (I believe) is good enough for the purpose, just consult it's man page. It also has a live mode where the stats update automatically.
Unfortunately the man page mostly goes over my head
So I dont know.
- 02-25-2011 #8Just Joined!
- Join Date
- Dec 2006
- Posts
- 8
I think you're better off using mrtg (Multi Router Traffic Grapher). You can collect all you need or want to and then generate graphs. The mgmt. will feel warm and fuzzy with visual statistic diagrams.
Good luck.
- 02-25-2011 #9Just Joined!
- Join Date
- Feb 2011
- Posts
- 88
Hi,
Open from the Desktop Menu
System -> Administration -> Add/Remove Software
In the search box write: netstat
and read about the packages in the label box of the Package Manager.
For further reading write in Google: <package name> wiki
For example: gnome-netstatus wiki
Regards
- 02-25-2011 #10forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Lots of different tools, some of which might suit your needs, can be found here:
Monitoring | Linux App Finder
Network Monitoring Tools
Note that some of the tools within the second link are not for Linux.oz


Reply With Quote

