Hi,
SunOS XXX 5.11 snv_123 i86pc i386 i86pc Solaris
$ pkg info SUNWiftop
Name: SUNWiftop
Summary: iftop - Display bandwidth usage on an interface
Category: Applications/System Utilities
State: Installed
Publisher: osol-dev
Version: 0.17
Build Release: 5.11
Branch: 0.123
Packaging Date: September 11, 2009 8:35:35 PM
Size: 82.65 kB
FMRI: pkg:/[email protected],5.11-0.123:20090911T203535Z
$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000
aggr1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER>
mtu 1500 index 2
inet 10.44.125.66 netmask ffffffc0 broadcast 10.44.125.127
groupname ipmp01
aggr2: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER>
mtu 1500 index 3
inet 10.44.125.67 netmask ffffffc0 broadcast 10.44.125.127
groupname ipmp01
ipmp0: flags=8001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,IPMP> mtu 1500
index 4
inet 10.44.125.68 netmask ffffffc0 broadcast 10.44.125.127
groupname ipmp01
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
inet6 ::1/128
$ iftop
IP address is: 10.44.125.68
pcap_open_live(ipmp0): libpcap: dlpi_open failed on ipmp0: DLPI link does not
exist
# truss -t open iftop
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libpcap.so", O_RDONLY) = 3
open("/lib/libnsl.so.1", O_RDONLY) = 3
open("/lib/libm.so.2", O_RDONLY) = 3
open("/lib/libsocket.so.1", O_RDONLY) = 3
open("/usr/gnu/lib/libncurses.so.5", O_RDONLY) = 3
open("/lib/libc.so.1", O_RDONLY) = 3
open("/lib/libdlpi.so.1", O_RDONLY) = 3
open("/home/milek/.iftoprc", O_RDONLY) Err#2 ENOENT
IP address is: 10.44.125.68
/1: open("/lib/libinetutil.so.1", O_RDONLY) = 3
/1: open("/lib/libdladm.so.1", O_RDONLY) = 3
/1: open("/lib/libcurses.so.1", O_RDONLY) = 3
/3: open("/proc/2169/psinfo", O_RDONLY) = 4
/1: open("/dev/net/ipmp0", O_RDWR) Err#2 ENOENT
/1: open("/dev/dld", O_RDWR) = 3
/3: open64("/var/run/name_service_door", O_RDONLY) = 4
/1: open("/etc/svc/volatile/dladm/dlmgmt_door", O_RDONLY) = 5
/1: open("/dev/ipmp0", O_RDWR) Err#2 ENOENT
/1: open("/dev/ipmp", O_RDWR) Err#2 ENOENT
pcap_open_live(ipmp0): libpcap: dlpi_open failed on ipmp0: DLPI link does not
exist
# iftop -i aggr2
and this almost works - the numbers are definitely wrong (way too small)....
(I'm getting several hundred bytes per second tops while it should be at least
20MB/s). I guess I'm seeing only icmp traffic from ipmp probing. Yes, that's
what I'm seeing as unless I specify -p (promisc) it can only see traffic to an
IP address which is directly configured on aggrN. It would be fine if IPMP was
not configured but with IPMP on it is non-intuitive.
But the real problem is that it doesn't allow to listen on ipmp0 and IMHO it
should.
--
Robert Milkowski
http://milek.blogspot.com
--
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]