7.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
|
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 7.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.
|
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