ParentFull threadkalleboo·nettop in the command line does it (added in Lion), maybe you can scrape it out of there or find the source to it to see how it's done.View on HN