Hitachi

JP1 Version 12 JP1/Data Highway - Server Configuration and Administration Guide


8.4.3 Acquisition of server status

This command acquires the number of connections by the clients currently executing file transfer.

Organization of this subsection

(1) Format

DWAdminClient.bat GETSERVERSTATUS
   -property property-file
   -result storage-destination-server-status-file

(2) Arguments

Table 8‒12: Arguments of the command for acquiring server status

No.

Option

Description

1

-result

Specifies the path to the storage destination for the server status file.

If the file does not exist in the specified location, a new server status file is created. If the file exists, the existing file is overwritten.

2

-property

For details, see 8.3.2 Common options.

(3) Description

(a) Format of the execution result file

The format of the execution result file is as follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<data>
    <server-status>
        <running-sockets>3</running-sockets>
    </server-status>
</data>

The following table describes the elements.

Table 8‒13: Elements in the execution result file

Element/attribute

Number of elements

Description

data element

1

Fixed.

server-status element

1

Fixed.

running-sockets element

1

Indicates the number of connections by the clients currently executing file transfer.

(4) Execution example

DWAdminClient.bat GETSERVERSTATUS
   -property "C:\DWCLient\property.xml" 
   -result C:\temp\result.xml