Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:user-guide:services:vnstat [2018/02/18 16:56] – link to usb storage page updated after wiki merge tmomas | docs:guide-user:services:network_monitoring:vnstat [2019/03/22 11:39] – tags vgaetera | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== vnStat ====== | + | ====== |
| vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It 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. [[http:// | vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It 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. [[http:// | ||
| ===== Installing ===== | ===== Installing ===== | ||
| Line 176: | Line 176: | ||
| vnStat stores stats to / | vnStat stores stats to / | ||
| - | By default, vnStat is configured to write to the directory in volatile memory every 30 minutes. Both the directory and the interval can be adjusted in vnStat' | + | By default, vnStat is configured to write to the directory in volatile memory every 30 minutes. Both the directory and the interval can be adjusted in vnStat' |
| Additionally, | Additionally, | ||
| === Method 1 === | === Method 1 === | ||
| - | To store the database on the thumb drive, ensure that [[docs:user-guide: | + | To store the database on the thumb drive, ensure that [[docs: |
| === Method 2 === | === Method 2 === | ||
| Line 254: | Line 254: | ||
| == Add for cron and for init == | == Add for cron and for init == | ||
| The below commands will add a cronjob entry that triggers a backup every 6 hours every day, if necessary adjust to an interval you feel comfortable with: | The below commands will add a cronjob entry that triggers a backup every 6 hours every day, if necessary adjust to an interval you feel comfortable with: | ||
| - | < | + | < |
| / | / | ||
| + | |||
| + | {{tag> | ||
| + | |||