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 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. 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. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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 table, and interface statistics information.

Format

netstat [ parameter ]

Parameters

Parameter

Description

Value

parameter

If you want to obtain details and usage guide of parameters, run the netstat --help command.

-

Modes

Minisystem mode

Usage Guidelines

None

Example

Show the network connection and routing table information.

Storage: minisystem> netstat 
Active Internet connections (w/o servers) 
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 10.41.11.227:ssh         10.1.0.125:51863         ESTABLISHED  
tcp        0      0 10.41.11.227:ssh         10.1.0.252:55083         ESTABLISHED  
tcp        0 216 10.41.11.227:ssh         10.1.0.125:51633         ESTABLISHED  
tcp        0      0 10.41.11.227:ssh         10.1.0.210:59379         ESTABLISHED  
tcp        0  0 10.41.11.227:ssh         10.1.0.125:51663         ESTABLISHED  
tcp        0      0 10.41.11.227:ssh         10.1.0.132:53846         ESTABLISHED  
tcp        0      0 10.41.11.227:ssh         10.1.0.74:56196          ESTABLISHED  
tcp        0      0 10.41.11.227:ssh         10.1.0.124:63715         ESTABLISHED  
tcp        0      0 10.41.11.227:ssh         10.1.0.124:63784         ESTABLISHED  
Active UNIX domain sockets (w/o servers) 
Proto RefCnt Flags       Type       State         I-Node Path 
unix  2      [ ]         DGRAM                    59997  @/org/kernel/udev/udevd 
unix  2      [ ]         DGRAM                    61303  /var/run/register 
unix  2      [ ]         DGRAM                    49104  /var/run/alarm 
unix  3      [ ]         STREAM     CONNECTED     77207  /dev/log 
unix  3      [ ]         STREAM     CONNECTED     79103 
unix  2      [ ]         DGRAM                    60296 
unix  3      [ ]         DGRAM                    60000 
unix  3      [ ]         DGRAM                    59999 
unix  3      [ ]         STREAM     CONNECTED     51542  /dev/log 
unix  3      [ ]         STREAM     CONNECTED     59994 
unix  3      [ ]         STREAM     CONNECTED     61319  /dev/log 
unix  3      [ ]         STREAM     CONNECTED     61798 
unix  3      [ ]         STREAM     CONNECTED     61305  /dev/log 
unix  3      [ ]         STREAM     CONNECTED     59942 
unix  3      [ ]         STREAM     CONNECTED     59940  /dev/log 
unix  3      [ ]         STREAM     CONNECTED     61781   
unix  3      [ ]         STREAM     CONNECTED     51495  /dev/log 
unix  3      [ ]         STREAM     CONNECTED     61302 
unix  2      [ ]         DGRAM                    40891 
unix  3      [ ]         STREAM     CONNECTED     50240  /dev/log 
unix  3      [ ]         STREAM     CONNECTED     40890 
unix  3      [ ]         STREAM     CONNECTED     50222  /dev/log 
unix  3      [ ]         STREAM     CONNECTED     50208

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

Foreign 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

Nodes of the socket.

Path

Path of the other processes connected to the socket.

Translation
Download
Updated: 2019-03-30

Document ID: EDOC1000138389

Views: 393385

Downloads: 80

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