Skip to content

Commit

Permalink
DEBUG console
Browse files Browse the repository at this point in the history
  • Loading branch information
dbcm committed Jan 26, 2017
1 parent 07b9ea3 commit e8ec9e1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tmux
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
SESSNAME=usbexec

tmux kill-session -t $SESSNAME

tmux new -d -s $SESSNAME "watch -c -d -n1 'ps -A | grep -i usbexec'"
tmux split-window "bash -c 'echo YOUR CONSOLE; echo; bash -l'"
tmux select-pane -U
tmux split-window -h "bash -c 'tail -F $HOME/.usbexec/usbexec*.log; bash -l'"
tmux select-pane -D
tmux split-window -h "bash -c 'echo SYSTEMLOGS; echo; sudo tail -F /var/log/system.log; bash -l'"
tmux select-pane -L

tmux attach

0 comments on commit e8ec9e1

Please sign in to comment.