On Wed, 2009-07-15 at 15:52 -0500, Harry Putnam wrote: > How can I get a good picture of host to host connections and the data > passed thru on the connections (in mb or b) using standard OS supplied > network tools. > > I mean counts or amounts on individual connections. > > I realize there may be some math or conversions involved (from packets > to mb) but wondering how other users do this.
You could write a dtrace script that gathers this data using the ip provider (http://wikis.sun.com/display/DTrace/ip+Provider). > I'm not looking for extra tools to do it... like iftop or such. > > I like iftop but it wouldn't intall on my setup...(something about not > finding a usable lib supporting something called `mvchgat') so > wondering if there may be some of you with scripts that use regular > tools to get that information. You don't need to build iftop yourself. It comes in the OpenSolaris repo. Simply "pkg install SUNWiftop". -Seb _______________________________________________ networking-discuss mailing list [email protected]
