aboutsummaryrefslogtreecommitdiffstats
path: root/skylog/runskype_skylog.sh
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-03-25 20:01:47 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2013-03-25 20:01:47 +0100
commit408bcb130fef3e98bac7e4fc262c6849977f5b8e (patch)
treee2ff84e67f1af59531aabdf062c7e9c47f46f13c /skylog/runskype_skylog.sh
parentviensamoi: nicer references in README (diff)
downloadlaurent-tools-408bcb130fef3e98bac7e4fc262c6849977f5b8e.tar.xz
laurent-tools-408bcb130fef3e98bac7e4fc262c6849977f5b8e.zip
skylog: add tmux skylog watcher session
Diffstat (limited to '')
-rw-r--r--skylog/runskype_skylog.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/skylog/runskype_skylog.sh b/skylog/runskype_skylog.sh
index 3b0daf5..90abaa1 100644
--- a/skylog/runskype_skylog.sh
+++ b/skylog/runskype_skylog.sh
@@ -18,4 +18,11 @@ sleep 2
echo "[-] running skydbg"
skydbg.py >> $LOGDIR/skydbg.csv &
+echo "[-] create tmux skylog watcher"
+tmux new-session -d -s skylog "tail -f $LOGDIR/skydbg.csv"
+tmux new-window -t skylog "tail -f $LOGDIR/skylog.csv"
+
+echo "[-] attach to tmux skylog watcher"
+tmux attach-session -t skylog
+
echo "[*] running !"