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


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


FusionStorage 8.0.0 Block Storage DSware Tool Command Reference 03

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).
Querying the Server Information Using Process IDs

Querying the Server Information Using Process IDs

Run the following command to query the server information using process IDs:

sh /opt/dsware/client/bin/ --op Service nameCmd -subOp QueryServerInfoByProcessId -processIds processIds




Specifies an executable program for the tool.

--op Service nameCmd

Self-defined based on the service.

For the replication service, the value is drCmd.

For the dgw service, the value is dgwCmd.

-subOp QueryServerInfoByProcessId

Queries the server information using process IDs.

-processIds processIds

Specifies the process IDs, for example 101, 102, and 103. The process IDs can be obtained by querying the system process information.

An example is provided as follows:

dsware@KD182250132182:~> sh /opt/dsware/client/bin/ --op drCmd -subOp QueryServerInfoByProcessId -processIds 100,101,103
[Sat Sep 16 15:49:07 CST 2017] DswareTool operation start.
Enter User Name:admin
Enter Password :
Operation finish successfully. Result Code:0
processId    manageIp       storageIp      serverName    id    replicateIp    storageIpExt          serverType        rackId    subRackId    slotId    
100    --         1       --             --                1         --           --      
101    --         2       --             --                2         --           --        
103    --         1       --             --                1         --           --        
-------------------------------------------------------------------------------------------------------------------------------- -----------------------
Total records : 3.
[Sat Sep 16 15:49:24 CST 2017] DswareTool operation end.
Updated: 2019-08-19

Document ID: EDOC1100081411

Views: 5918

Downloads: 3

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