Created
July 13, 2014 13:28
-
-
Save jadedgnome/20957cc8b00b39241f2a to your computer and use it in GitHub Desktop.
list sshfs mounts from 'ps aux' output , formatted with awk.
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
lsshfs() { | |
#list sshfs mounts | |
ps aux | grep sshfs | grep @ | grep -v "\-p" |awk '{print $2" = "$12" = "$13}' | |
ps aux | grep sshfs | grep @ | grep "\-p" | awk '{print $2" = "$12" "$13" "$14" = "$15}' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment