Created
July 1, 2014 06:37
-
-
Save geekduck/9dfaac1b09ec185d502e to your computer and use it in GitHub Desktop.
psからgrepしたPIDの/proc/PID/fd 以下を表示させるシェルワンライナー
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
| ps aux | grep someapp | grep -v grep | awk '{print $2}' | xargs -i{} ls -al /proc/{}/fd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment