我要评分
获取效率
正确性
完整性
易理解

network

Command Function

Collects network information, including NIC and interrupt information.

Syntax

1
./kspect network [-h] [-n | -i | -p | -s | -r | -a]

Parameter Description

Table 1 Parameters of the network command

Parameter

Description

None

Collects all network information, including NIC and interrupt information.

-h/--help

Obtains help information.

-n/--nic

Displays NIC information.

-i/--irq

Displays network IRQ mappings and hardware interrupt information.

-p/--perf

Displays NIC tuning information.

-s/--system

Displays NIC system information.

-r/--route

Displays route information.

-a/--arp

Displays ARP information.

Example

Collect all network information.
1
./kspect network

If a -- is not displayed in red in the report, the related data is either unavailable or cannot be collected.

Table 2 Report description

Item

Description

Network Table

Displays basic network information, including the NIC name, speed, status, driver, firmware information, PCIe bus, MAC address, IP address, and IRQ balance status.

Network IRQ Table

Displays NIC IRQ information, including the CPU core IDs, NUMA nodes, and IRQs.

Hardware Interrupt Info Table

Displays hardware interrupt information, including the interrupt ID, interrupt event name, interrupt core pinning, network port name, and network queue name.

NIC Perf Metrics Table

Displays NIC performance information, including current and maximum NIC queues, queue depth, adaptive interrupt coalescing status, RX/TX pause status, packet counts (sent, lost, errors), interrupt delay, RX/TX queue delay thresholds, RX/TX frames, and RX/TX data frames under high and low load.

Network System Info Table

Displays network system information, including the type, parameters, and parameter values.

Route Table

Displays route information, including the destination IP address, gateway address, mask, flags, measurement information, and network interface configuration.

ARP Table

Displays ARP information, including the IP address, hardware type, hardware address, flags, and network interface configuration.

JSON Report

The generated report is saved in the Tool_installation_path/output/kspect-network-YYYYMMDD-HHMMSS directory and the file name is kspect-network-YYYYMMDD-HHMMSS.json.