[opensuse] something like vnstat (internet usage stats) for OS 13.2?
Hi, I need to find out how much down-/upload I use (to know what mobile contract to choose). Googling pointed me to a program named vnstat, but that exists only for ubuntu (or to be compiled from source, which is "too much" for me). Is there something like that or a simple way to find out for OS 13.2 available somewhere, ready to install and use? I just need simple numbers: how much did I download and upload from/to internet on this single machine per day. thanks for your help. Daniel -- Daniel Bauer photographer Basel Barcelona http://www.daniel-bauer.com room in Barcelona: https://www.airbnb.es/rooms/2416137 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Daniel Bauer <linux@daniel-bauer.com> [01-13-16 08:41]: [...]
I need to find out how much down-/upload I use (to know what mobile contract to choose).
Googling pointed me to a program named vnstat, but that exists only for ubuntu (or to be compiled from source, which is "too much" for me).
Is there something like that or a simple way to find out for OS 13.2 available somewhere, ready to install and use? I just need simple numbers: how much did I download and upload from/to internet on this single machine per day.
simple: knemo not so simple: ntop gnome: I don't know. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed 13 Jan 2016 02:39:10 PM CST, Daniel Bauer wrote:
Hi,
I need to find out how much down-/upload I use (to know what mobile contract to choose).
Googling pointed me to a program named vnstat, but that exists only for ubuntu (or to be compiled from source, which is "too much" for me).
Is there something like that or a simple way to find out for OS 13.2 available somewhere, ready to install and use? I just need simple numbers: how much did I download and upload from/to internet on this single machine per day.
thanks for your help.
Daniel Hi The vnstat package is available in the server:monitoring repository.
Does your current ISP provide a statistics page on daily/monthly data usage? Does you router provide stats (snmp?) Are there other systems on your network, consider normal chatter between systems will show on your local interface. As a ball park indicator, use (since your on 13.2) ifconfig to see data in/out eg; /sbin/ifconfig eth0 RX bytes:3388942197 (3231.9 Mb) TX bytes:222123990 (211.8 Mb) Pick a time and check manually and make a note... -- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.20-default up 3 days 23:36, 7 users, load average: 0.21, 0.23, 0.30 CPU AMD A4-5150M @ 2.70GHz | GPU Radeon HD 8350G -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 13.01.2016 um 15:13 schrieb Malcolm:
On Wed 13 Jan 2016 02:39:10 PM CST, Daniel Bauer wrote:
Hi,
I need to find out how much down-/upload I use (to know what mobile contract to choose).
Googling pointed me to a program named vnstat, but that exists only for ubuntu (or to be compiled from source, which is "too much" for me).
Is there something like that or a simple way to find out for OS 13.2 available somewhere, ready to install and use? I just need simple numbers: how much did I download and upload from/to internet on this single machine per day.
thanks for your help.
Daniel Hi ....
As a ball park indicator, use (since your on 13.2) ifconfig to see data in/out eg; /sbin/ifconfig eth0
RX bytes:3388942197 (3231.9 Mb) TX bytes:222123990 (211.8 Mb)
Pick a time and check manually and make a note...
The info given seems a good indicator, but I don't know in which time I reached these numbers. Is it since I last booted? (Sorry for stupid question...) -- Daniel Bauer photographer Basel Barcelona http://www.daniel-bauer.com room in Barcelona: https://www.airbnb.es/rooms/2416137 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed 13 Jan 2016 03:37:57 PM CST, Daniel Bauer wrote:
Am 13.01.2016 um 15:13 schrieb Malcolm:
On Wed 13 Jan 2016 02:39:10 PM CST, Daniel Bauer wrote:
Hi,
I need to find out how much down-/upload I use (to know what mobile contract to choose).
Googling pointed me to a program named vnstat, but that exists only for ubuntu (or to be compiled from source, which is "too much" for me).
Is there something like that or a simple way to find out for OS 13.2 available somewhere, ready to install and use? I just need simple numbers: how much did I download and upload from/to internet on this single machine per day.
thanks for your help.
Daniel Hi ....
As a ball park indicator, use (since your on 13.2) ifconfig to see data in/out eg; /sbin/ifconfig eth0
RX bytes:3388942197 (3231.9 Mb) TX bytes:222123990 (211.8 Mb)
Pick a time and check manually and make a note...
The info given seems a good indicator, but I don't know in which time I reached these numbers. Is it since I last booted? (Sorry for stupid question...)
Hi Since the last time the system was up, so check the output from uptime. Remember it's bytes, not bits so check the plan your contemplating is B not b..... -- Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890) SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.51-60.20-default up 4 days 0:16, 6 users, load average: 0.06, 0.16, 0.27 CPU AMD A4-5150M @ 2.70GHz | GPU Radeon HD 8350G -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 13.01.2016 um 15:56 schrieb Malcolm:
On Wed 13 Jan 2016 03:37:57 PM CST, Daniel Bauer wrote:
Am 13.01.2016 um 15:13 schrieb Malcolm:
On Wed 13 Jan 2016 02:39:10 PM CST, Daniel Bauer wrote:
Hi,
I need to find out how much down-/upload I use (to know what mobile contract to choose). ...
Daniel Hi ....
As a ball park indicator, use (since your on 13.2) ifconfig to see data in/out eg; /sbin/ifconfig eth0
RX bytes:3388942197 (3231.9 Mb) TX bytes:222123990 (211.8 Mb)
Pick a time and check manually and make a note...
The info given seems a good indicator, but I don't know in which time I reached these numbers. Is it since I last booted? (Sorry for stupid question...)
Hi Since the last time the system was up, so check the output from uptime.
Remember it's bytes, not bits so check the plan your contemplating is B not b.....
cool, thank you. This information is enough for what I need to know. (Anyway, I am shocked to see how much bits and Bytes I exchanged with the internet within the last 21 days...). -- Daniel Bauer photographer Basel Barcelona http://www.daniel-bauer.com room in Barcelona: https://www.airbnb.es/rooms/2416137 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-01-13 14:39, Daniel Bauer wrote:
Is there something like that or a simple way to find out for OS 13.2 available somewhere, ready to install and use? I just need simple numbers: how much did I download and upload from/to internet on this single machine per day.
gkrellm One of the features is that measures the network usage: day, week, month. I also wrote a script that digs this information from network manager and writes a log. I'll have to look it up in my laptop later and tell you how I do it, and if it still works. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/13/2016 06:24 AM, Carlos E. R. wrote:
On 2016-01-13 14:39, Daniel Bauer wrote:
Is there something like that or a simple way to find out for OS 13.2 available somewhere, ready to install and use? I just need simple numbers: how much did I download and upload from/to internet on this single machine per day.
gkrellm
One of the features is that measures the network usage: day, week, month.
I also wrote a script that digs this information from network manager and writes a log. I'll have to look it up in my laptop later and tell you how I do it, and if it still works.
Wow, good old gkrellm still alive kicking and? As I recall it had a remote monitoring feature to monitor a remote gkrellm installed in another machine. But these also run the risk of monitoring local network traffic, unless it is installed on the gateway machine. If Daniel connects his machine directly to the internet, that wont be an issue. If Daniel uses his phone as a wifi-hotspot he might be able to get these numbers from the phone. (I mention this because he mentioned a mobile contract was involved). - -- After all is said and done, more is said than done. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlaWmooACgkQv7M3G5+2DLLrdQCgrGo68iPPIWBOvXr/6biEzSzR e7kAn2UWriarS/n7npMqScdh1xMrQZON =s/4d -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 13.01.2016 um 19:42 schrieb John Andersen:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 01/13/2016 06:24 AM, Carlos E. R. wrote:
On 2016-01-13 14:39, Daniel Bauer wrote:
Is there something like that or a simple way to find out for OS 13.2 available somewhere, ready to install and use? I just need simple numbers: how much did I download and upload from/to internet on this single machine per day.
gkrellm
One of the features is that measures the network usage: day, week, month.
I also wrote a script that digs this information from network manager and writes a log. I'll have to look it up in my laptop later and tell you how I do it, and if it still works.
Wow, good old gkrellm still alive kicking and? As I recall it had a remote monitoring feature to monitor a remote gkrellm installed in another machine.
I have gkrellm on my desktop, but just to view if something happens, and to see the teparatures of the processor and the graphics card (had some problems I could solve with a vacuum cleaner...). I don't know how to make gkrellm show me the amount of transferred data per time period, the little bit I tried in the settings did not work, but that means nothing. I just see a graphic of the eth0 traffic...
But these also run the risk of monitoring local network traffic, unless it is installed on the gateway machine.
If Daniel connects his machine directly to the internet, that wont be an issue.
The computer is with cable on the adsl modem.
If Daniel uses his phone as a wifi-hotspot he might be able to get these numbers from the phone. (I mention this because he mentioned a mobile contract was involved).
I want, in future, use a mobile phone to connect the laptop to the internet when I am travelling thru Spain & Portugal. I don't know if this is the most intelligent way to get internet connection when there is no free wifi available somewhere, but I had no idea about how much data I move around and what contract would suit my needs. Now I konw, thanks to the ifconfig thing that Malcolm told me. Anyway, I found that the largest amount I can here get is 20G/month (yoigo). -- -- Daniel Bauer photographer Basel Barcelona http://www.daniel-bauer.com room in Barcelona: https://www.airbnb.es/rooms/2416137 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2016-01-13 19:57, Daniel Bauer wrote:
Am 13.01.2016 um 19:42 schrieb John Andersen:
On 01/13/2016 06:24 AM, Carlos E. R. wrote:
I don't know how to make gkrellm show me the amount of transferred data per time period, the little bit I tried in the settings did not work, but that means nothing. I just see a graphic of the eth0 traffic...
Hover the mouse over the little graph for the network interface (there can be several: eth, wlan, ppp.... A small button, 1*2 mm, should appear at the bottom right corner. Click on it, and a window will pop up with the stats.
But these also run the risk of monitoring local network traffic, unless it is installed on the gateway machine.
True enough.
I want, in future, use a mobile phone to connect the laptop to the internet when I am travelling thru Spain & Portugal. I don't know if this is the most intelligent way to get internet connection when there is no free wifi available somewhere, but I had no idea about how much data I move around and what contract would suit my needs.
That is what I do. Well, sometimes I tell my mobile phone to share a wifi spot, and others I instead connect it via usb cable to the laptop, and tell the phone to provide internet access via it (same menu as for wifi spot, in androids). Network manager detects it instantly and connects. The advantage is that the phone is charging instead of discharging, and that no one can capture your traffic. If you have movistar fusion, then you get 2 GB per month on the associated mobile. And free calls on Spain. This is what I have. Quite a reasonable plan, at least for me. I have to watch my usage. First, remove packagekit and applets, do not allow any automatic updates: just refreshing the repo data is several megabytes. Then, I use an addon on firefox (user agent overrider) to tell it to pose as if it is the mobile version of FF or chrome, so that you get a lower weight version of web pages. Mail... depends. Connecting to the ISP Imap using, say, thunderbird, seems heavier than directly downloading all email on to the laptop, leaving the imap server empty. Of course, if you have to send a few of your photographs, the plan blows out of the window ;-p
Now I konw, thanks to the ifconfig thing that Malcolm told me.
Good! Because I had a look at my scripts, and they don't work with network manager, only with the ppp daemon. When it closes the connection, it sends several parameters and one of them is the number of bytes. Network manager (at least on 13.1) doesn't. Movistar does have a page that tells you how much I have transferred. My current Android phone also gives the data, but the numbers not necessarily match.
Anyway, I found that the largest amount I can here get is 20G/month (yoigo).
That much? I had a data plan from them for a while, 0.5 GB. Quite a reasonable provider. They sold me a usb dongle that holds the SIM card, and connects to the computer via USB. Worked out of the box, but perhaps I had to connect initially on Windows to activate the card. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlaW4hQACgkQja8UbcUWM1ynlwD7BIncbjYrjHQS6dkbgtn3+K47 k82HDzmYJuqHwKWWKWgA/28dGanza7zBxx3JphKljMEvpTWjcVY7dZox5ax8i9Vp =YzeC -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2016-01-14 00:47, Carlos E. R. wrote:
Good! Because I had a look at my scripts, and they don't work with network manager, only with the ppp daemon. When it closes the connection, it sends several parameters and one of them is the number of bytes. Network manager (at least on 13.1) doesn't.
The raw data is on "/proc/net/dev". Perhaps I could dig it out from there. But I have to find out if the info dies when the connection closes, before I can capture it :-? - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlaW4+EACgkQja8UbcUWM1xnIQD/ek+MAATJNOxwk1gvuRjGnfb6 S3c8XswcobfDzslJbd8BAJ0MBOKN109MzZ2ZNuAhzhVEcxNNYYnXaGva+so+7w0D =5VUp -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi Daniel! Am 13.01.2016 um 14:39 schrieb Daniel Bauer:
I need to find out how much down-/upload I use (to know what mobile contract to choose).
Googling pointed me to a program named vnstat, but that exists only for ubuntu (or to be compiled from source, which is "too much" for me). Look into the server:monitoring repository. [...] Herbert
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Carlos E. R.
-
Daniel Bauer
-
Herbert Graeber
-
John Andersen
-
Malcolm
-
Patrick Shanahan