Created
June 10, 2019 04:34
-
-
Save didenko/d12facb156114c21be12327dd1f6553c to your computer and use it in GitHub Desktop.
fusr
This file contains 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
function fusr() { | |
[ -f "${1}" ] || return 1; | |
find /proc -lname "${1}" 2>/dev/null | cut -d/ -f3 | sort -nu | xargs ps -fp; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment