Showing posts with label fd. Show all posts
Showing posts with label fd. Show all posts

Oct 12, 2013

Find out current working directory of a running process?

pwdx <PID>
lsof -p <PID> | grep cwd
readlink -e /proc/<PID>/cwd