Skip to content

Instantly share code, notes, and snippets.

@chgeuer
Last active January 25, 2018 15:30
Show Gist options
  • Save chgeuer/5dcb9ce6ad75d16775e715967e31a396 to your computer and use it in GitHub Desktop.
Save chgeuer/5dcb9ce6ad75d16775e715967e31a396 to your computer and use it in GitHub Desktop.

Watch activity on local node

Install tmuxinator

$ apt install -y ruby
$ gem install tmuxinator
$ export EDITOR='vim'

Configure tmuxinator local session

$ tmuxinator new watch

~/.tmuxinator/watch.yml

name: watch
root: /mnt

windows:
  - top:
      layout: main-vertical
      panes:
        - # empty
        - htop
        - nload eth0
        - watch --interval 0.5 "df -BG | grep /dev/sd"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment