vnstat: moved to attic
This commit is contained in:
parent
69d40481c4
commit
f64084e368
@ -1,9 +0,0 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/vnstat
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/vnstat.1.gz
|
||||
drwxr-xr-x root/root var/
|
||||
drwxr-xr-x root/root var/lib/
|
||||
drwxr-xr-x root/root var/lib/vnstat/
|
@ -1 +0,0 @@
|
||||
9184f79b5e60499bc059f670032291e5 vnstat-1.4.tar.gz
|
@ -1,19 +0,0 @@
|
||||
# Description: Network traffic monitor
|
||||
# URL: http://humdi.net/vnstat/
|
||||
# Maintainer:
|
||||
# Packager: Jukka Heino, jukka dot heino at gmail dot com
|
||||
# Depends on:
|
||||
|
||||
name=vnstat
|
||||
version=1.4
|
||||
release=1
|
||||
source=(http://humdi.net/$name/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
sed -i 's:^CFLAGS = -O2:CFLAGS +=:' src/Makefile
|
||||
make
|
||||
install -d $PKG/var/lib/vnstat
|
||||
install -D -m 755 src/vnstat $PKG/usr/bin/vnstat
|
||||
install -D -m 644 man/vnstat.1 $PKG/usr/man/man1/vnstat.1
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
REQUIREMENTS
|
||||
|
||||
PRE-INSTALL
|
||||
|
||||
POST-INSTALL
|
||||
|
||||
To use vnstat, you need to add the following line to root's crontab:
|
||||
|
||||
0-55/5 * * * * /usr/bin/vnstat -u
|
||||
|
||||
After that you need to introduce to vnstat every network interface you
|
||||
want to monitor:
|
||||
|
||||
vnstat -u -i eth0
|
||||
vnstat -u -i eth1
|
||||
etc.
|
||||
|
||||
PRECAUTION
|
Loading…
x
Reference in New Issue
Block a user