From 3c25371ecd0bc6fc5ad38a6d4483cb4c943e542c Mon Sep 17 00:00:00 2001 From: Ulices Date: Sun, 12 May 2024 18:16:47 -0600 Subject: [PATCH] vnstat*: fix flag, rename placeholder and add Spanish translation (#12775) * vnstati: fix argument position * vnstati: add Spanish translation * vnstat: add Spanish translation * vnstat: rename network interface placeholder --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Alejandro Cervera <96702705+tricantivu@users.noreply.github.com> --- pages.es/linux/vnstat.md | 24 ++++++++++++++++++++++++ pages.es/linux/vnstati.md | 20 ++++++++++++++++++++ pages/linux/vnstat.md | 4 ++-- pages/linux/vnstati.md | 2 +- 4 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 pages.es/linux/vnstat.md create mode 100644 pages.es/linux/vnstati.md diff --git a/pages.es/linux/vnstat.md b/pages.es/linux/vnstat.md new file mode 100644 index 0000000000..248585d7b2 --- /dev/null +++ b/pages.es/linux/vnstat.md @@ -0,0 +1,24 @@ +# vnstat + +> Monitor de tráfico de red de línea de comandos. +> Más información: . + +- Muestra un resumen de tráfico de todas las interfaces: + +`vnstat` + +- Muestra un resumen de tráfico de una interfaz de red específica: + +`vnstat -i {{interfaz_de_red}}` + +- Muestra estadísticas en vivo de una interfaz de red específica: + +`vnstat -l -i {{interfaz_de_red}}` + +- Muestra estadísticas de tráfico por hora durante las últimas 24 horas mediante un gráfico de barras: + +`vnstat -hg` + +- Mide y muestra el tráfico promedio por 30 segundos: + +`vnstat -tr {{30}}` diff --git a/pages.es/linux/vnstati.md b/pages.es/linux/vnstati.md new file mode 100644 index 0000000000..765bb33154 --- /dev/null +++ b/pages.es/linux/vnstati.md @@ -0,0 +1,20 @@ +# vnstati + +> Genera imágenes PNG compatibles con vnStat. +> Más información: . + +- Genera un resumen de los últimos dos meses, días, etc: + +`vnstati --summary --iface {{interfaz_de_red}} --output {{ruta/a/salida.png}}` + +- Genera los 10 días con mayor tráfico de todos los tiempos: + +`vnstati --top 10 --iface {{interfaz_de_red}} --output {{ruta/a/salida.png}}` + +- Genera estadísticas de tráfico mensual de los últimos 12 meses: + +`vnstati --months --iface {{interfaz_de_red}} --output {{ruta/a/salida.png}}` + +- Genera estadísticas de tráfico por hora de las últimas 24 horas: + +`vnstati --hours --iface {{interfaz_de_red}} --output {{ruta/a/salida.png}}` diff --git a/pages/linux/vnstat.md b/pages/linux/vnstat.md index 661b4bc6d9..230fddc458 100644 --- a/pages/linux/vnstat.md +++ b/pages/linux/vnstat.md @@ -9,11 +9,11 @@ - Display traffic summary for a specific network interface: -`vnstat -i {{eth0}}` +`vnstat -i {{network_interface}}` - Display live stats for a specific network interface: -`vnstat -l -i {{eth0}}` +`vnstat -l -i {{network_interface}}` - Show traffic statistics on an hourly basis for the last 24 hours using a bar graph: diff --git a/pages/linux/vnstati.md b/pages/linux/vnstati.md index e054815628..88e35b4638 100644 --- a/pages/linux/vnstati.md +++ b/pages/linux/vnstati.md @@ -9,7 +9,7 @@ - Output the 10 most traffic-intensive days of all time: -`vnstati --top10 --iface {{network_interface}} --output {{path/to/output.png}}` +`vnstati --top 10 --iface {{network_interface}} --output {{path/to/output.png}}` - Output monthly traffic statistics from the last 12 months: