Skip to content

Instantly share code, notes, and snippets.

@bryanhunter
Created January 11, 2015 15:29
Show Gist options
  • Save bryanhunter/21b81cbecb128f1a1570 to your computer and use it in GitHub Desktop.
Save bryanhunter/21b81cbecb128f1a1570 to your computer and use it in GitHub Desktop.

Revisions

  1. bryanhunter created this gist Jan 11, 2015.
    3 changes: 3 additions & 0 deletions Handy.exs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    # Show all Pids on local node with at least one message queued in its mailbox
    Process.list |> Enum.filter(&(Process.info(&1)[:message_queue_len] >0))