Vnstat

vnStat - a network traffic monitor for Linux and BSD
Alternatives To Vnstat
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Stats16,346
a day ago8mitSwift
macOS system monitor in your menu bar
Nethogs2,621
a month ago1February 27, 201884gpl-2.0C++
Linux 'net top' tool
Awesome Pcaptools2,567
8 months ago8cc0-1.0
A collection of tools developed by other researchers in the Computer Science area to process network traces. All the right reserved for the original authors.
Iglance2,328
8 months ago39gpl-3.0Swift
Free system monitor for OSX and macOS. See all system information at a glance in the menu bar.
Trackerjacker2,156
4 years ago78November 30, 201813mitPython
Like nmap for mapping wifi networks you're not connected to, plus device tracking
Mthawkeye1,425
12 months ago12October 22, 20207mitObjective-C
Profiling / Debugging assist tools for iOS. (Memory Leak, OOM, ANR, Hard Stalling, Network, OpenGL, Time Profile ...)
Networkeye1,299
213 years ago19September 25, 201916mitObjective-C
a iOS network debug library, monitor HTTP requests
Nzyme1,204
6 days ago106otherJava
Network Defense System.
Vnstat1,142
15 days ago1February 27, 20189gpl-2.0C
vnStat - a network traffic monitor for Linux and BSD
Bmon977
7 months ago1February 27, 201846otherC
bandwidth monitor and rate estimator
Alternatives To Vnstat
Select To Compare


Alternative Project Comparisons
Readme

vnStat

vnStat is a console-based network traffic monitor that uses the network interface statistics provided by the kernel as information source. This means that vnStat won't actually be sniffing any traffic and also ensures light use of system resources regardless of network traffic rate.

By default, traffic statistics are stored on a five minute level for the last 48 hours, on a hourly level for the last 4 days, on a daily level for the last 2 full months and on a yearly level forever. The data retention durations are fully user configurable. Total seen traffic and a top days listing is also provided. Optional image output is available in systems with the GD library installed.

See the official webpage for additional details and output examples.

Getting started

vnStat works best when installed. It's possible to either use the latest stable release, get the current development version from git or use a Docker container containing the pre-compiled latest stable release.

Stable version

  1. wget https://humdi.net/vnstat/vnstat-latest.tar.gz
  2. optional steps for verifying the file signature
    1. wget https://humdi.net/vnstat/vnstat-latest.tar.gz.asc
    2. gpg --keyserver pgp.mit.edu --recv-key 0xDAFE84E63D140114
    3. gpg --verify vnstat-latest.tar.gz.asc vnstat-latest.tar.gz
    4. the signature is correct if the output shows "Good signature from Teemu Toivola"
  3. tar zxvf vnstat-latest.tar.gz
  4. cd vnstat-*

Development version

  1. git clone https://github.com/vergoh/vnstat
  2. cd vnstat

In both above cases, continue with instructions from the INSTALL or INSTALL_BSD file depending on used operating system. Instructions for upgrading from a previous version are included in the UPGRADE file. Release notes can be found from the CHANGES file.

Docker container

docker run -d \
    --restart=unless-stopped \
    --network=host \
    -e HTTP_PORT=8685 \
    -v /etc/localtime:/etc/localtime:ro \
    -v /etc/timezone:/etc/timezone:ro \
    --name vnstat \
    vergoh/vnstat

For more details regarding container usage, available environment variables and a docker-compose.yml example, see the vergoh/vnstat-docker git repository or Docker Hub.

Contacting the author

Bug reports, improvement ideas, feature requests and pull requests should be sent using the matching features on GitHub as those are harder to miss or forget.

Popular Monitor Projects
Popular Network Projects
Popular Operations Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C
Network
Monitor
Statistics