X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Ftaillog;fp=bin%2Ftaillog;h=fa7906ffe9537db5a740a96c3336fc5ed5d6dc08;hp=b58d0e0e7d8ce80d672db17683a5f47dc81ed2f2;hb=a597775e4c706254cbed945272b5f20d2e6acbf1;hpb=b39de4dca13f27ea78e6a36a0040def197c37757 diff --git a/bin/taillog b/bin/taillog index b58d0e0..fa7906f 100755 --- a/bin/taillog +++ b/bin/taillog @@ -1,2 +1,3 @@ #! /bin/bash -tail -fn0 `(file $(find /var/log -name ntpstats -prune -o -type f -print)|grep -v 'data$'|sed 's/:.*//'|grep -v '^\(/var/log/squid/store.log\|/var/log/acpid\|/var/log/btmp\|/var/log/maillog\)$';echo "$*"|tr ' ' '\n')|sort -u` # |grep -v ': bio too big device md3 (248 > 240)$' +ulimit -n 65536 +tail -fn0 `(file $(find /var/log -name ntpstats -prune -o -type f -print)|grep -v 'data$'|sed 's/:.*//'|grep -v '^\(/var/log/squid/store.log\|/var/log/acpid\|/var/log/btmp\|/var/log/journal/.*\|/var/log/maillog\|/var/log/sa/\)$';echo "$*"|tr ' ' '\n')|sort -u` # |grep -v ': bio too big device md3 (248 > 240)$'