Network:getStatistics

Method

Purpose

This method (on Solaris-10) returns network performance information similar to that returned by netstat.

Remarks

All statistics are for the lifetime of the system (since system boot time).

Type

Synchronous, IMPACT_INFO.

Arguments

 

Name

Type

Description

Interface Name

String

Name of the network interface

Returns

 

Name

Type

Description

Interface Name

String

Name of the network interface. Table is indexed on Interface Name.

Input Bytes

Long

The number of octets of data received through the interface

Input Packets

Integer

Packets received on the interface, lifetime total

Input Packet Errors

Integer

Input errors on the interface, lifetime total

Output Bytes

Long

The number of octets of data sent through this interface

Output Packets

Integer

Packets sent on the interface, lifetime total

Output Packet Errors

Integer

Output errors on the interface, lifetime total

Network Collisions

Integer

Collisions, lifetime total

Framing Errors

Integer

Framing errors, lifetime total

CRC Errors

Integer

Checksum errors, lifetime total

Input Packets Missed

Integer

Receive missed, lifetime total

Collision Retry Errors

Integer

Collision retry errors, lifetime total

No Carrier Errors

Integer

No carrier, lifetime total

% Network Collisions

Double

Rate (percentage) of collisions against total number of output packets (lifetime totals)