Last active
May 10, 2016 18:21
-
-
Save dbellotti/97d849da09cab5beaef0594cf1d9adcc to your computer and use it in GitHub Desktop.
tail logs on bosh errand
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ``` | |
| 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