Hi all
I'm trying to gather network loads with sigar.jar on my Windows 7 system but sigar doesn't show my network interface:
sigar> ifconfig
WAN Miniport (IPv6)
eth0 Link encap:Ethernet HWaddr 84:8B:20:52:41:53
inet addr:0.0.0.0 Mask:0.0.0.0
Realtek PCIe GBE Family Controller-QoS Packet Scheduler-0000
eth2 Link encap:Ethernet HWaddr 00:1A:4D:57:18:1C
inet addr:0.0.0.0 Mask:0.0.0.0
Realtek PCIe GBE Family Controller-WFP LightWeight Filter-0000
eth3 Link encap:Ethernet HWaddr 00:1A:4D:57:18:1C
inet addr:0.0.0.0 Mask:0.0.0.0
Software Loopback Interface 1
lo0 Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
...
C:\Program Files\Java\jre6\bin>ipconfig /all
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Broadcom 802.11g Network Adapter
Physical Address. . . . . . . . . : 00-0E-8E-00-38-93
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::90:984:eb50:a4ac%11
IPv4 Address. . . . . . . . . . . : 192.168.0.120
...
sigar version output:
Sigar version.......java=1.6.3.82, native=1.6.3.81
Build date..........java=07/09/2009 04:06 AM, native=07/09/2009 04:00 AM
SCM rev.............java=80016c6, native=80016c6
Archlib.............sigar-amd64-winnt.dll
Current fqdn........AJQ6600
Language............2055:German (Switzerland)
Perflib lang id.....007
Current user........Kamikaze
OS description......Microsoft Windows Vista
OS name.............Win32
OS arch.............x64
OS version..........6.1
OS vendor...........Microsoft
OS vendor version...Vista
OS data model.......64
OS cpu endian.......little
Java vm version.....16.0-b13
Java vm vendor......Sun Microsystems Inc.
Is it possible that this could happen because it is a wireless interface?
I'm running the newest java jre + jdk:
C:\Program Files\Java\jre6\bin>java.exe -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
I've also tried it with 32 bit jre + jdk but the result was the same.
On another Win 7 x64 system this worked with a wired interface.
By the way, this is a nice tool for java development ;-)
|