SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-06-21 14:52:10

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Starting vnstat v1.12-2 with systemdctrl

 21 Jun 15 | 11:21:15 ~
    $ cpol vnstat
alias cpol = apt-cache policy
vnstat:
  Installed: 1.12-2
  Candidate: 1.12-2
  Version table:
 *** 1.12-2 0
        500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status

 21 Jun 15 | 11:21:26 ~
    $ vnstat
 eth0: Not enough data available yet.

 21 Jun 15 | 11:21:40 ~
    $ 

Offline

Help fund CrunchBang, donate to the project!

#2 2015-06-21 15:36:36

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Starting vnstat v1.12-2 with systemdctrl

Version 1.12-2 works for me in sid.

Did you enable the database?

empty@Debian ~ % vnstat

                      rx      /      tx      /     total    /   estimated
 wlan0: Not enough data available yet.
 eth0: Not enough data available yet.
empty@Debian ~ % sudo vnstat -u -i eth0
empty@Debian ~ % vnstat 

                      rx      /      tx      /     total    /   estimated
 wlan0: Not enough data available yet.
 eth0:
       Jun '15    560.55 MiB  /   10.30 MiB  /  570.84 MiB  /  825.00 MiB
         today    560.55 MiB  /   10.30 MiB  /  570.84 MiB  /     825 MiB

Offline

#3 2015-06-21 22:33:01

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Starting vnstat v1.12-2 with systemdctrl

#!/bin/bash
# Sector11's list
echo ''
echo 'Now to configure your new apps'
echo 'Press ANY key to create vnstat database (eth0)'
read key
sudo vnstat -u -i eth0 &&
echo ''
echo 'Press a key to continue with sensors-detect'
echo 'Answer YES to everything!'
echo ''
read key
sudo sensors-detect
echo ''
echo 'Press a key to configure hddtemp'
echo 'Answer: Yes, 0, Yes, OK, OK'
echo ''
read key
sudo dpkg-reconfigure hddtemp
echo ''
read key
echo 'Crystalcursors Number 7'
echo ''
sudo update-alternatives --config x-cursor-theme
echo ''
echo 'Done'
echo 'Any key to exit'
read key
echo ''
exit

Offline

#4 2015-06-22 10:25:35

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Starting vnstat v1.12-2 with systemdctrl

Have you used:

sudo systemctl start vnstat.service
sudo systemctl enable vnstat.service

Offline

#5 2015-06-22 13:09:55

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Starting vnstat v1.12-2 with systemdctrl

^ OH .. OOPS!!  I forgot this is a systemd distro ...   I need a list of systemd commands ... this before breakfast ... need to search after breakfast.

Changed the "Subject"
Thank you

Offline

#6 2015-06-22 14:35:57

twoion
Emerald Caffeine
From: 星界
Registered: 2012-05-11
Posts: 1,648

Re: Starting vnstat v1.12-2 with systemdctrl

       month        rx      |     tx      |    total    |   avg. rate
    ------------------------+-------------+-------------+---------------
      Mar '15    263.52 MiB |  507.08 MiB |  770.61 MiB |    2.36 kbit/s
      Apr '15     67.49 GiB |   84.93 GiB |  152.43 GiB |  493.31 kbit/s
      May '15     39.03 GiB |   61.25 GiB |  100.28 GiB |  314.07 kbit/s
      Jun '15     35.56 GiB |   61.27 GiB |   96.83 GiB |  433.45 kbit/s
    ------------------------+-------------+-------------+---------------
    estimated     49.18 GiB |   84.75 GiB |  133.93 GiB |

       month        rx      |     tx      |    total    |   avg. rate
    ------------------------+-------------+-------------+---------------
      Nov '14      1.46 GiB |   83.00 MiB |    1.54 GiB |    5.00 kbit/s
      Dec '14      1.72 GiB |   30.22 MiB |    1.75 GiB |    5.49 kbit/s
      Jan '15      2.65 GiB |   66.45 MiB |    2.72 GiB |    8.51 kbit/s
      Feb '15      1.82 GiB |   76.88 MiB |    1.89 GiB |    6.56 kbit/s
      Mar '15      2.23 GiB |   53.85 MiB |    2.28 GiB |    7.15 kbit/s
      Apr '15      1.97 GiB |   66.46 MiB |    2.03 GiB |    6.57 kbit/s
      May '15      1.61 GiB |  195.06 MiB |    1.80 GiB |    5.64 kbit/s
      Jun '15    879.68 MiB |   74.29 MiB |  953.97 MiB |    4.17 kbit/s
    ------------------------+-------------+-------------+---------------
    estimated      1.19 GiB |     102 MiB |    1.29 GiB |

       month        rx      |     tx      |    total    |   avg. rate
    ------------------------+-------------+-------------+---------------
      Feb '15    473.85 MiB |   15.29 MiB |  489.14 MiB |    1.66 kbit/s
      Mar '15     68.73 GiB |    3.07 GiB |   71.80 GiB |  224.87 kbit/s
      Apr '15    164.63 GiB |    5.92 GiB |  170.54 GiB |  551.94 kbit/s
      May '15     90.18 GiB |    4.39 GiB |   94.57 GiB |  296.19 kbit/s
      Jun '15     72.66 GiB |    3.89 GiB |   76.56 GiB |  342.68 kbit/s
    ------------------------+-------------+-------------+---------------
    estimated    100.50 GiB |    5.38 GiB |  105.88 GiB |

Last edited by twoion (2015-06-22 14:36:10)

Offline

#7 2015-06-22 15:37:30

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Starting vnstat v1.12-2 with systemdctrl

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo