Hi, Please find attached bwbar-1.2.2.ebuild. bwbar is a small program for generating png images representing current outgoing or incoming network traffic on an interface. You may most probably already seen it in action at http://www.kernel.org I suggest net-misc/bwbar Also, this ebuild depends on libpng which should be installed on most systems. Have good time Frank Benkstein.
Created attachment 36062 [details] bwbar-1.2.2.ebuild
I had some trouble before this work so maybe this helps somebody else: Put this in /etc/conf.d/net <code> postup() { case "$1" in eth0) ebegin " Starting bwbar for $1" start-stop-daemon --start --quiet --oknodo --exec /usr/bin/bwbar --pidfile /var/run/bwbar-"$1"-in.pid \ --background --make-pidfile\ -- --input --interval 2 --height 10 --kbps \ --text-file /var/www/localhost/htdocs/ubar-$1-in.txt \ --png-file /var/www/localshost/htdocs/ubar-$1-in.png \ $1 100 start-stop-daemon --start --quiet --oknodo --exec /usr/bin/bwbar --pidfile /var/run/bwbar-"$1"-out.pid \ --background --make-pidfile\ -- --output --interval 2 --height 10 --kbps \ --text-file /var/www/localhost/htdocs/ubar-$1-out.txt \ --png-file /var/www/localhost/htdocs/ubar-$1-out.png \ $1 100 eend $? ;; esac } predown() { case "$1" in eth0) ebegin " Stopping bwbar for $1" start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/bwbar-"$1"-in.pid start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/bwbar-"$1"-out.pid eend $? ;; esac } </code>
*** Bug 83105 has been marked as a duplicate of this bug. ***
In cvs. Thanks for reporting!