No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
netstat

netstat

Function

The netstat command is used to show the network connection, routing list, and interface status.

Format

netstat [ parameter ]

Parameters

Parameter

Description

Value

parameter

To obtain the detailed information and usage guide of the parameters, run the netstat --help command.

-

Modes

Minisystem mode

Usage Guidelines

None

Example

Show the network connection and routing list.

Storage: minisystem> netstat 
Active Internet connections (w/o servers) 
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 localhost:56926         localhost:36060         ESTABLISHED  
tcp        0      0 localhost:avt-profile-2 localhost:45308         ESTABLISHED  
tcp        0      0 localhost:33111         localhos:synchronet-upd TIME_WAIT 
tcp        0      0 localhost:45316         localhost:avt-profile-2 ESTABLISHED  
tcp        0      0 localhost:51829         localhost:http-alt      ESTABLISHED  
tcp        0      0 localhost:avt-profile-2 localhost:45309         ESTABLISHED  
tcp        0      0 localhost:45307       localhost:avt-profile-2 ESTABLISHED  
tcp        0      0 localhost:45306         localhost:avt-profile-2 ESTABLISHED  
tcp        0      0 localhost:40143         localhost:primaserver ESTABLISHED  
tcp        0      0 localhost:45314         localhost:avt-profile-2 ESTABLISHED  
tcp        0      0 localhost:45305         localhost:avt-profile-2 ESTABLISHED  
tcp        0      0 localhost:avt-profile-2 localhost:45307         ESTABLISHED  
tcp        0      0 localhost:40130         localhost:primaserver ESTABLISHED  
Active UNIX domain sockets (w/o servers) 
Proto RefCnt Flags       Type       State         I-Node Path 
unix  38     [ ]         DGRAM                    37724  /dev/log 
unix  2      [ ]         DGRAM                    37726  /var/lib/dhcp/dev/log 
unix  2      [ ]         DGRAM                    37728  /var/lib/dhcp6/dev/log 
unix  2      [ ]         DGRAM                    96     @/org/kernel/udev/udevd 
unix  2      [ ]         DGRAM                    43396  /var/run/libalarm/register 
unix  2      [ ]         DGRAM                    33689  /var/run/lldpad/clif 
unix  2      [ ]         DGRAM                    44284  /var/run/alarm 
unix  2      [ ]         DGRAM                    44286  /var/run/delalarm 
unix  2      [ ]         DGRAM                    9109824  
unix  3      [ ]         STREAM     CONNECTED     8744500  
unix  3      [ ]         STREAM     CONNECTED     8744499  
unix  3      [ ]         STREAM     CONNECTED     8046240  
unix  3      [ ]         STREAM  CONNECTED     8046239  
unix  2      [ ]         DGRAM                    155993  
unix  2      [ ]         DGRAM                    143341  
unix  2      [ ]         DGRAM                    143715  
unix  3      [ ]         STREAM     CONNECTED     143015 

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Active Internet connections

Active TCP connections.

Proto

Protocol name.

Recv-Q

Receive queue.

Send-Q

Send queue.

Local Address

Local address.

Foreign Address

Remote address.

State

Connection status.

Active UNIX domain sockets

Active UNIX domain sockets.

RefCnt

ID of the process connected to the socket.

Type

Type of the socket.

State

Current status of the socket.

I-Node

Number of nodes of the socket.

Path

Path name used by other processes that are connected to the socket.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 577745

Downloads: 229

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next