aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcassio <cassiopc@gmail.com>2018-08-27 16:03:33 +0000
committercassio <cassiopc@gmail.com>2018-08-27 16:03:33 +0000
commit78e178aaf018c36c4eda6b4231f9a4eb5e4e997a (patch)
tree8164667144d6c4f41e9d6ebb55da42dcc8b4a632
parentc8284a969b084df4e801a1a3e43e400466a99051 (diff)
downloadboca-78e178aaf018c36c4eda6b4231f9a4eb5e4e997a.tar.gz
boca-78e178aaf018c36c4eda6b4231f9a4eb5e4e997a.zip
more logs
-rw-r--r--tools/boca-submit-log8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/boca-submit-log b/tools/boca-submit-log
index 5f3034b..d9cffa8 100644
--- a/tools/boca-submit-log
+++ b/tools/boca-submit-log
@@ -17,22 +17,22 @@ fi
for zcount in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
- grep -e sudo -e "password:session" /var/log/auth.log | tail -n 100 > /root/.logsession.tmp
+ grep -e sudo -e "password:session" /var/log/auth.log | tail -n 500 > /root/.logsession.tmp
[ -f /root/.logsession ] || touch /root/.logsession
diff /root/.logsession /root/.logsession.tmp > /root/.logsession.diff 2>/dev/null
res=$?
- journalctl | grep -i mount | grep -i -e "filesystem" -e "file system" | tail -n 100 > /root/.logfs.tmp
+ journalctl | grep -i mount | tail -n 500 > /root/.logfs.tmp
[ -f /root/.logfs ] || touch /root/.logfs
diff /root/.logfs /root/.logfs.tmp > /root/.logfs.diff 2>/dev/null
resfs=$?
- grep -i mount /var/log/kern.log | grep -i -e "filesystem" -e "file system" | tail -n 100 > /root/.logkfs.tmp
+ grep -i mount /var/log/kern.log | grep -i -e "filesystem" -e "file system" | tail -n 500 > /root/.logkfs.tmp
[ -f /root/.logkfs ] || touch /root/.logkfs
diff /root/.logkfs /root/.logkfs.tmp > /root/.logkfs.diff 2>/dev/null
reskfs=$?
if [ "$zcount" == "1" ]; then
- tail -n 1000 /var/log/logkeys.log > /root/.logkeys.tmp
+ tail -n 10000 /var/log/logkeys.log > /root/.logkeys.tmp
[ -f /root/.logkeys ] || touch /root/.logkeys
diff /root/.logkeys /root/.logkeys.tmp > /root/.logkeys.diff 2>/dev/null
reskeys=$?