From 50a5ffb5645c990c8dbc980f901b52f59c176056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20T=C3=A1mara?= Date: Fri, 20 Dec 2024 13:26:39 -0500 Subject: [PATCH] ttyplot: add Spanish translation (#15270) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Darío Hereñú --- pages.es/linux/ttyplot.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages.es/linux/ttyplot.md diff --git a/pages.es/linux/ttyplot.md b/pages.es/linux/ttyplot.md new file mode 100644 index 0000000000..787d073c9a --- /dev/null +++ b/pages.es/linux/ttyplot.md @@ -0,0 +1,20 @@ +# ttyplot + +> Una utilidad de trazado en tiempo real para la línea de comandos con entrada de datos desde `stdin`. +> Más información: . + +- Muestra los valores `1`, `2` y `3` (`cat` evita que ttyplot salga): + +`{ echo {{1 2 3}}; cat } | ttyplot` + +- Establece un título específico y unidad: + +`{ echo {{1 2 3}}; cat } | ttyplot -t {{título}} -u {{unidad}}` + +- Utiliza un bucle de tiempo para trazar continuamente valores aleatorios: + +`{ while {{true}}; do echo {{$RANDOM}}; sleep {{1}}; done } | ttyplot` + +- Analiza la salida de `ping` y la visualiza: + +`ping {{8.8.8.8}} | sed -u '{{s/^.*time=//g; s/ ms//g}}' | ttyplot -t "{{ping a 8.8.8.8}}" -u {{ms}}`