Skip to content

Instantly share code, notes, and snippets.

@dylanwh
Created April 6, 2009 19:41
Show Gist options
  • Save dylanwh/90895 to your computer and use it in GitHub Desktop.
Save dylanwh/90895 to your computer and use it in GitHub Desktop.
% ps -u dylan | awk 'NR>1{total[$4]++} END { for (k in total) print total[k], k }' | sort -n
1 alsamixer
1 awk
1 dbus-daemon
1 dbus-launch
1 firefox-bin
1 gconfd-2
1 gnome-keyring-d
1 mplayer
1 ps
1 scp
1 sort
1 ssh-agent
1 sshfs
1 urxvt
1 urxvtd
1 xmonad-x86_64-l
4 ssh
10 zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment