Diferencias

Muestra las diferencias entre la revision seleccionada y la versión actual de esta página.

programacion:shellscripts:sftplogs 2007/07/27 17:13 programacion:shellscripts:sftplogs 2007/07/27 17:17 actual
Línea 33: Línea 33:
Jul 25 06:25:07 sftp1 kernel: [43023067.850000] SMB connection re-established (-5) Jul 25 06:25:07 sftp1 kernel: [43023067.850000] SMB connection re-established (-5)
</code> </code>
 +
===== Script ===== ===== Script =====
Línea 89: Línea 90:
            fi             fi
        done         done
-        grep "running" /var/log/auth.log | awk -v cert=$certificado_usuario -v fp=$certificado_fingerprint -v pid=$proceso '$0 ~ pid  {print $2 ":" $1 ":"  $3 ":" $9 ":" $11 ":" $7 ":" cert ":" pid ":" fp}' >> ${_TEMPFILE}+        grep "running" /var/log/auth.log |
 +            awk -v cert=$certificado_usuario -v fp=$certificado_fingerprint -v pid=$proceso
 +              '$0 ~ pid  {print $2 ":" $1 ":"  $3 ":" $9 ":" $11 ":" $7 ":" cert ":" pid ":" fp}' >> ${_TEMPFILE}
      fi       fi
  done   done

Navigation


FOTOGRAFIAS

www.flickr.com
Esta ventana muestra fotos de joakinen. Hazte una igual aquí.


VIAJES
http://itineraria.org

CURSOS
http://ctx.es

BLOG http://creativecodeworks.com/blog

Personal Tools