Skip to content

Instantly share code, notes, and snippets.

@dbellotti
Last active May 10, 2016 18:21
Show Gist options
  • Save dbellotti/97d849da09cab5beaef0594cf1d9adcc to your computer and use it in GitHub Desktop.
Save dbellotti/97d849da09cab5beaef0594cf1d9adcc to your computer and use it in GitHub Desktop.
tail logs on bosh errand
bosh ssh onto running errand vm
sudo su
ps ax | grep "bin/test" | tail -n1 | awk '{print $1}' // assuming 3333 is the PID returned
tail -f /proc/3333/fd/{1,2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment