mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
vnstat: add page (#4875)
This commit is contained in:
parent
d78a7103fe
commit
433b9647ea
1 changed files with 23 additions and 0 deletions
23
pages/linux/vnstat.md
Normal file
23
pages/linux/vnstat.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# vnstat
|
||||
|
||||
> A console-based network traffic monitor.
|
||||
|
||||
- Display traffic summary for all interfaces:
|
||||
|
||||
`vnstat`
|
||||
|
||||
- Display traffic summary for a specific network interface:
|
||||
|
||||
`vnstat -i {{eth0}}`
|
||||
|
||||
- Display live stats for a specific network interface:
|
||||
|
||||
`vnstat -l -i {{eth0}}`
|
||||
|
||||
- Show traffic statistics on an hourly basis for the last 24 hours using a bar graph:
|
||||
|
||||
`vnstat -hg`
|
||||
|
||||
- Measure and show average traffic for 30 seconds:
|
||||
|
||||
`vnstat -tr {{30}}`
|
Loading…
Add table
Reference in a new issue