2014-03-28 Trace a process

For Linux

sudo strace -p PID

For Mac

sudo dtruss -p PID