Skip to content

Instantly share code, notes, and snippets.

@dbellotti
Last active May 10, 2016 18:21
Show Gist options
  • Select an option

  • Save dbellotti/97d849da09cab5beaef0594cf1d9adcc to your computer and use it in GitHub Desktop.

Select an option

Save dbellotti/97d849da09cab5beaef0594cf1d9adcc to your computer and use it in GitHub Desktop.

Revisions

  1. dbellotti renamed this gist May 10, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. dbellotti created this gist May 10, 2016.
    6 changes: 6 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    ```
    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}
    ```