Skip to content

Instantly share code, notes, and snippets.

@bdonlan
Created April 6, 2009 19:47
Show Gist options
  • Save bdonlan/90896 to your computer and use it in GitHub Desktop.
Save bdonlan/90896 to your computer and use it in GitHub Desktop.
] ps wwwxu | perl -pe 's{(\s)\S+/}{$1}g' | awk 'NR>1{total[$11]++} END { for (k in total) print total[k], k }' | sort -n
1 awk
1 bluetooth-applet
1 bonobo-activation-server
1 cpufreq-applet
1 dbus-daemon
1 dbus-launch
1 dcopserver
1 evince
1 evolution-alarm-notify
1 evolution-data-server-2.24
1 evolution-exchange-storage
1 fast-user-switch-applet
1 firefox
1 gconfd-2
1 gconf-helper
1 gdb
1 gedit
1 gnome-keyring-daemon
1 gnome-keyring-daemon-wrapper
1 gnome-panel
1 gnome-power-manager
1 gnome-screensaver
1 gnome-settings-daemon
1 gvfsd
1 gvfsd-burn
1 gvfsd-http
1 gvfsd-trash
1 gvfs-fuse-daemon
1 gvfs-gphoto2-volume-monitor
1 gvfs-hal-volume-monitor
1 gweather-applet-2
1 less
1 man
1 metacity
1 mixer_applet2
1 multiload-applet-2
1 nautilus
1 nm-applet
1 notification-daemon
1 npviewer.bin
1 pager
1 pidgin
1 ps
1 pulseaudio
1 python
1 scim-bridge
1 scim-helper-launcher
1 scim-helper-manager
1 scim-panel-gtk
1 seahorse-agent
1 skype
1 tracker-applet
1 trackerd
1 trashapplet
1 uml_switch
1 update-notifier
1 x-session-manager
2 perl
2 scim-launcher
2 screen
2 SCREEN
2 ssh
2 vim
3 kpdf
3 sh
8 urxvt
10 gvim
11 linux
13 port-helper
16 linux.brick
16 zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment