Skip to content

Instantly share code, notes, and snippets.

@didenko
Created June 10, 2019 04:34
Show Gist options
  • Save didenko/d12facb156114c21be12327dd1f6553c to your computer and use it in GitHub Desktop.
Save didenko/d12facb156114c21be12327dd1f6553c to your computer and use it in GitHub Desktop.
fusr
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