Created
October 1, 2013 09:27
-
-
Save tkuchiki/6775963 to your computer and use it in GitHub Desktop.
プロセスのカレントディレクトリを表示
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
# プロセスのカレントディレクトリを表示 | |
## unicorn (master) の場合 | |
ps aux | grep unicorn | grep master | awk '{ print $2; }' | while read pid; do ls -l /proc/$pid/cwd; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment