On 2014-01-12 00:47:55 +0000, Michael Vilain said:
> In article <laphn8$nqf$
2...@dont-email.me>, Ted Lee <
tmp...@gmail.com>
> wrote:
>
>> On 1/10/14, 12:42 PM, Michael Vilain wrote:
>>> Unless you can code and have a couple months to write your tool, you're
>>> stuck with command line tools.
>>
>>
>> Not entirely true. Activity monitor does (can) show the number of
>> bytes/packets sent/received for each process. True, it doesn't give the
>> rate (bytes/packets per second) but you ought to be able to eyeball
>> compute that. It looks like it starts counting from when a process is
>> created, so you'd have to logout/login to reset all the counters for all
>> user processes to zero. I suppose if you do a restart that will reset
>> the counters for any system processes that aren't associated with a user.
>
> Activity Monitor is probably using the same counters that netstat and
> nettop use. They aren't historical in that if you quit a process like
> Safari then restart it, the traffic counters for that connection will
> end. I don't even think sar accounting will track network traffic
> except on a per interface basis.
>
> I stand corrected. When I looked at Activity Monitor's per-process
> output, it didn't have per process network I/O.
Prior to Mavericks, I don't think that Activity Monitor had per process
network I/O data, but Mavericks most definitely has it.
You might want to check what columns you can add to the display on
prior versions of Mac OS X. Right-click on the column heading area and
you'll get a menu showing all the columns both currently selected and
available.