User Tools

Site Tools


informatica:linux:bash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
informatica:linux:bash [2010/04/14 18:48] 150.214.57.108informatica:linux:bash [2010/09/10 14:17] 62.15.232.197
Line 52: Line 52:
 echo "Resultado: "$Final" Kb/s en interfaz "$Interfaz echo "Resultado: "$Final" Kb/s en interfaz "$Interfaz
 </code> </code>
 +
  
 ===== Colorear archivos ===== ===== Colorear archivos =====
Line 68: Line 69:
  
 3. Grabar y salir 3. Grabar y salir
 +
 +===== Logs =====
 +
 +  09/05-00:00:03.054 [08] <001 QUEUE>my_server-1.mydomain.com> queue::pollClients: Session 28 (0 Queued 0 Active)
 +
 +Extraer la cola:
 +
 +  cat log_file.txt | grep "pollClients: Session" | tail -n 1 | awk '{print $9}' | sed "s/^(//"
 +
informatica/linux/bash.txt · Last modified: 2015/04/13 20:19 by 127.0.0.1