Check network traffic amount

Hi, is there an easy way to check how much traffic goes over my eth0 or wlan0 interface. I don't want a complicated tool, just a simple thing, saying e.g. Total traffic: 450MB download: 300MB upload: 150 MB Can't be that difficult, I suppose?!? Best regards alex.

Hi, ifconfig reports that. E.g. RX bytes:4170353683 (3.8 GiB) TX bytes:1059049491 (1009.9 MiB) Robert. Quoting Alexander Pucher <pucher@atlas.gis.univie.ac.at>:
------------------------------------------------------------------------------ Robert Maier ESAT SCD/COSIC ______ _____ _____ ______ Kasteelpark Arenberg 10 / ____/___ / ___//_ _// ____/ 3001 Heverlee / / / __ \ \__ \ / / / / BELGIUM / /___/ /_/ /___/ /_/ /_/ /___ Phone: +32-16-32.18.53 \____/\____//____//____/\____/ Fax: +32-16-32.19.69 ------------------------------------------------------------------------------

* Alexander Pucher <pucher@atlas.gis.univie.ac.at> [12-13-03 18:50]:
/usr/sbin/iptraf (as root) -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org

On Saturday 13 December 2003 06:20 pm, Patrick Shanahan wrote:
* Alexander Pucher <pucher@atlas.gis.univie.ac.at> [12-13-03 18:50]:
Thanks Patrick. I was looking for something like that and it is really interesting/neat! For anyone else just learning how, you can create a link to the file and set it to be opened in a terminal and by user root and simply clicking on the new Icon will get you going nicely Too bad someone hasn't come up with a list and short description of all the neat things on the SUSE distro without having to go to YAST and look at each description. Linux can be a bit overwhelming with all the things available. Thanks again. Richard

Op Sunday 14 December 2003 07:46, schreef Richard Atcheson: RA> On Saturday 13 December 2003 06:20 pm, Patrick Shanahan wrote: RA> > * Alexander Pucher <pucher@atlas.gis.univie.ac.at> [12-13-03 18:50]: RA> RA> > /usr/sbin/iptraf (as root) RA> > -- RA> > Patrick Shanahan Registered Linux User #207535 RA> RA> RA> Thanks Patrick. I was looking for something like that and it is really RA> interesting/neat! RA> RA> For anyone else just learning how, you can create a link to the file and RA> set it to be opened in a terminal and by user root and simply clicking RA> on the new Icon will get you going nicely RA> RA> Too bad someone hasn't come up with a list and short description of all RA> the neat things on the SUSE distro without having to go to YAST and look RA> at each description. Yast -> Install Software -> Search Search for "network traffic" -> 5 items (no iptraf) Search for "network monitor" -> 5 items (including iptraf) I would not call that overwhelming... ;P RA> Linux can be a bit overwhelming with all the things available. That's why Information Retrieval is important. ;P Anyway, thanks! Your email gave me the idea to search with two keywords. ;D Cheers, Leen

On Sunday 14 December 2003 04:18 am, Leendert Meyer wrote:
You're right, 5 items are not overwhelming but I was thinking about ALL of the things available on the Pro distro and there are, from what i read, thousands of things there. Now that is overwhelming, at least to me it is. But I also think the problem is more than just the SuSe distro. There are so many different apps for Linux and so many different places to look for information that many of us suffer from some kind of overload. This list is the next best thing to having such a listing as there are a lot of nice folks here willing to tell others where to go in just a heartbeat. The great thing is you can get a variety of suggestions on how to solve a particular need. I really appreciate all the help and comments that are given here. I just wish I could remember it all! Enjoy the holidays all. ra

Hey Richard,
... yes, and because it is overwhelming, such a list would be overwhelming too because it'd contain thousands of entries making its potential value void. Everybody has a different taste and if the list would contain all the features then it would be longer than both SuSE books together. -- cul8er, Paul paul.foerster@gmx.net

Hi Richard, maybe this will help you in the future: http://linux01.gwdg.de/apt4rpm/ Apt4rpm is a meta directory of rpm packages. It allows you to easilly install new software and takes care about dependencies between packages. Apt is a command line tool, but with Synaptic you also have a nice MMI. Here are the results from apt search: picasso:/home/jmau # apt search network traffic iptraf - TCP/IP Network Monitor libnids - A Network Intrusion Detection System library mrtg - The Multi Router Traffic Grapher netacct - Network Accounting ntop - Web-Based Network Traffic Monitor routed - Routing daemon which maintains routing tables tleds - Indicate network traffic via Keyboard LEDs traffic-vis - Network Traffic Analysis Suite vtun - Virtual Tunnel Client/Server xnetload - This program displays network traffic and uptime for the network Installation with apt is easy,just type "apt install iptraf". All dependend packages are downloaded and installed. That's it. Regards Jean-Marc Am Sonntag, 14. Dezember 2003 07:46 schrieb Richard Atcheson:

Op zondag 14 december 2003 13:46, schreef Jean-Marc Autexier:
Or type apt:/search?network%20traffic in konqueror's url bar and have the result displayed in konqueror (you need to have the package kio-apt installed for it to work). To start apt:/ is sufficient. -- Richard Bos Without a home the journey is endless

What do I need in my sources.list to be able install kio-apt with apt? (My current config is rpm ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt SuSE/8.2-i386 base update kde packman packman-i686 security suser-rbos ) /Lennart söndagen den 14 december 2003 13.51 skrev Richard Bos:
-- !++ ! Lennart Börjeson ! Partner, Developer ! Cinnober Financial Technology AB ! Industrigatan 2A ! S-112 46 STOCKHOLM ! Sverige/Sweden/Schweden/Suède ! mailto:Lennart.Borjeson@cinnober.com ! phone:+46-8-50304700 ! fax:+46-8-50304701 ! http://www.cinnober.com !--

Op maandag 15 december 2003 09:08, schreef Lennart Börjeson:
It's only available for suse-9.0 You could download and install the suse9 kio-apt rpm manually. It's located here: ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.0-i386/RPMS.suser-rbos I think that it will work.
-- Richard Bos Without a home the journey is endless

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 14 December 2003 08:46 am, Jean-Marc Autexier wrote:
If you put the funktronics module in your /etc/apt/sources.list you can add iftop to that list. - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/3bk3+FOexA3koIgRAmrAAJsHvSNdoCj9VtqB3omZq4uL0p/RuQCfZTY7 EEtBRq/gCGYaBFeTU0LBkfw= =8pOL -----END PGP SIGNATURE-----

On Sunday 14 December 2003 06:46 am, Jean-Marc Autexier wrote:
Thanks Jean-Marc. I have become a real believer in Apt in the past year or so. Following Richard Bos' advice to limit the repository to such proven places as ulb, suser-rbos, packman, as well as the basic needs, I have greatly reduced my frustration level after an upgrade. Installing such things as MozillaFirebird and MPlayer and transcode were a dream! And just now I upgraded iptraf using the single command apt install iptraf. I was apprehensive about using the new apt script because the instructions were rather cryptic and sometimes these new things bite me very strongly on the ass. Not this time. I would suggest to Richard that the Suse Apt instructions be modified slightly to tell the other cowards like me that using the command 'apt' is simple and not to be feared. An example could be: to upgrade an installed app, simply type apt install <nameofApp> and it will be upgraded. BTW, upgrading a single app via apt is not all that intuitive. If you read the man page it appears you should type apt upgrade <nameofApp>. Didnt work! it still wants to upgrade everything that is installed. Not a big deal but could create problems for someone who fails to read all the stuff between upgrade and yes. Anyway, thanks for the network stuff list. I'm putting together an old laptop as my router and will be using some of those command line things. Once it is going I need to figure out how to administer it from this machine. There's always something going on with Linux, isn't there? Regards, Richard

Hi, ifconfig reports that. E.g. RX bytes:4170353683 (3.8 GiB) TX bytes:1059049491 (1009.9 MiB) Robert. Quoting Alexander Pucher <pucher@atlas.gis.univie.ac.at>:
------------------------------------------------------------------------------ Robert Maier ESAT SCD/COSIC ______ _____ _____ ______ Kasteelpark Arenberg 10 / ____/___ / ___//_ _// ____/ 3001 Heverlee / / / __ \ \__ \ / / / / BELGIUM / /___/ /_/ /___/ /_/ /_/ /___ Phone: +32-16-32.18.53 \____/\____//____//____/\____/ Fax: +32-16-32.19.69 ------------------------------------------------------------------------------

* Alexander Pucher <pucher@atlas.gis.univie.ac.at> [12-13-03 18:50]:
/usr/sbin/iptraf (as root) -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org

On Saturday 13 December 2003 06:20 pm, Patrick Shanahan wrote:
* Alexander Pucher <pucher@atlas.gis.univie.ac.at> [12-13-03 18:50]:
Thanks Patrick. I was looking for something like that and it is really interesting/neat! For anyone else just learning how, you can create a link to the file and set it to be opened in a terminal and by user root and simply clicking on the new Icon will get you going nicely Too bad someone hasn't come up with a list and short description of all the neat things on the SUSE distro without having to go to YAST and look at each description. Linux can be a bit overwhelming with all the things available. Thanks again. Richard

Op Sunday 14 December 2003 07:46, schreef Richard Atcheson: RA> On Saturday 13 December 2003 06:20 pm, Patrick Shanahan wrote: RA> > * Alexander Pucher <pucher@atlas.gis.univie.ac.at> [12-13-03 18:50]: RA> RA> > /usr/sbin/iptraf (as root) RA> > -- RA> > Patrick Shanahan Registered Linux User #207535 RA> RA> RA> Thanks Patrick. I was looking for something like that and it is really RA> interesting/neat! RA> RA> For anyone else just learning how, you can create a link to the file and RA> set it to be opened in a terminal and by user root and simply clicking RA> on the new Icon will get you going nicely RA> RA> Too bad someone hasn't come up with a list and short description of all RA> the neat things on the SUSE distro without having to go to YAST and look RA> at each description. Yast -> Install Software -> Search Search for "network traffic" -> 5 items (no iptraf) Search for "network monitor" -> 5 items (including iptraf) I would not call that overwhelming... ;P RA> Linux can be a bit overwhelming with all the things available. That's why Information Retrieval is important. ;P Anyway, thanks! Your email gave me the idea to search with two keywords. ;D Cheers, Leen

On Sunday 14 December 2003 04:18 am, Leendert Meyer wrote:
You're right, 5 items are not overwhelming but I was thinking about ALL of the things available on the Pro distro and there are, from what i read, thousands of things there. Now that is overwhelming, at least to me it is. But I also think the problem is more than just the SuSe distro. There are so many different apps for Linux and so many different places to look for information that many of us suffer from some kind of overload. This list is the next best thing to having such a listing as there are a lot of nice folks here willing to tell others where to go in just a heartbeat. The great thing is you can get a variety of suggestions on how to solve a particular need. I really appreciate all the help and comments that are given here. I just wish I could remember it all! Enjoy the holidays all. ra

Hey Richard,
... yes, and because it is overwhelming, such a list would be overwhelming too because it'd contain thousands of entries making its potential value void. Everybody has a different taste and if the list would contain all the features then it would be longer than both SuSE books together. -- cul8er, Paul paul.foerster@gmx.net

Hi Richard, maybe this will help you in the future: http://linux01.gwdg.de/apt4rpm/ Apt4rpm is a meta directory of rpm packages. It allows you to easilly install new software and takes care about dependencies between packages. Apt is a command line tool, but with Synaptic you also have a nice MMI. Here are the results from apt search: picasso:/home/jmau # apt search network traffic iptraf - TCP/IP Network Monitor libnids - A Network Intrusion Detection System library mrtg - The Multi Router Traffic Grapher netacct - Network Accounting ntop - Web-Based Network Traffic Monitor routed - Routing daemon which maintains routing tables tleds - Indicate network traffic via Keyboard LEDs traffic-vis - Network Traffic Analysis Suite vtun - Virtual Tunnel Client/Server xnetload - This program displays network traffic and uptime for the network Installation with apt is easy,just type "apt install iptraf". All dependend packages are downloaded and installed. That's it. Regards Jean-Marc Am Sonntag, 14. Dezember 2003 07:46 schrieb Richard Atcheson:

Op zondag 14 december 2003 13:46, schreef Jean-Marc Autexier:
Or type apt:/search?network%20traffic in konqueror's url bar and have the result displayed in konqueror (you need to have the package kio-apt installed for it to work). To start apt:/ is sufficient. -- Richard Bos Without a home the journey is endless

What do I need in my sources.list to be able install kio-apt with apt? (My current config is rpm ftp://mirrors.mathematik.uni-bielefeld.de/pub/linux/suse/apt SuSE/8.2-i386 base update kde packman packman-i686 security suser-rbos ) /Lennart söndagen den 14 december 2003 13.51 skrev Richard Bos:
-- !++ ! Lennart Börjeson ! Partner, Developer ! Cinnober Financial Technology AB ! Industrigatan 2A ! S-112 46 STOCKHOLM ! Sverige/Sweden/Schweden/Suède ! mailto:Lennart.Borjeson@cinnober.com ! phone:+46-8-50304700 ! fax:+46-8-50304701 ! http://www.cinnober.com !--

Op maandag 15 december 2003 09:08, schreef Lennart Börjeson:
It's only available for suse-9.0 You could download and install the suse9 kio-apt rpm manually. It's located here: ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.0-i386/RPMS.suser-rbos I think that it will work.
-- Richard Bos Without a home the journey is endless

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 14 December 2003 08:46 am, Jean-Marc Autexier wrote:
If you put the funktronics module in your /etc/apt/sources.list you can add iftop to that list. - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/3bk3+FOexA3koIgRAmrAAJsHvSNdoCj9VtqB3omZq4uL0p/RuQCfZTY7 EEtBRq/gCGYaBFeTU0LBkfw= =8pOL -----END PGP SIGNATURE-----

On Sunday 14 December 2003 06:46 am, Jean-Marc Autexier wrote:
Thanks Jean-Marc. I have become a real believer in Apt in the past year or so. Following Richard Bos' advice to limit the repository to such proven places as ulb, suser-rbos, packman, as well as the basic needs, I have greatly reduced my frustration level after an upgrade. Installing such things as MozillaFirebird and MPlayer and transcode were a dream! And just now I upgraded iptraf using the single command apt install iptraf. I was apprehensive about using the new apt script because the instructions were rather cryptic and sometimes these new things bite me very strongly on the ass. Not this time. I would suggest to Richard that the Suse Apt instructions be modified slightly to tell the other cowards like me that using the command 'apt' is simple and not to be feared. An example could be: to upgrade an installed app, simply type apt install <nameofApp> and it will be upgraded. BTW, upgrading a single app via apt is not all that intuitive. If you read the man page it appears you should type apt upgrade <nameofApp>. Didnt work! it still wants to upgrade everything that is installed. Not a big deal but could create problems for someone who fails to read all the stuff between upgrade and yes. Anyway, thanks for the network stuff list. I'm putting together an old laptop as my router and will be using some of those command line things. Once it is going I need to figure out how to administer it from this machine. There's always something going on with Linux, isn't there? Regards, Richard
participants (10)
-
Alexander Pucher
-
James Oakley
-
Jean-Marc Autexier
-
Leendert Meyer
-
Lennart Börjeson
-
Patrick Shanahan
-
Paul Foerster
-
Richard Atcheson
-
Richard Bos
-
Robert Maier