◁ Starting and Stopping ≡ Table of Contents Development ▷
Restart, stop and request of operating status are accessible via Telnet-based remote access. Most operating systems contain a corresponding client. Seanox Devwex itself also contains a suitable client component.
Telnet client
telnet 127.0.0.1 25000 [command]
Seanox Devwex itself also contains a suitable client component.
Java binary
java -cp devwex.jar com.seanox.devwex.Service [command] java -cp devwex.jar com.seanox.devwex.Service [command] [address:port]
Batch script in Windows
devwex.cmd [command] devwex.cmd [command] [address:port]
Shell script in Unix/Linux/MacOS
devwex.sh [command] devwex.sh [command] [address:port]
Overview of commands
Command | Description |
---|---|
status |
Shows information about the version, start and system time as well as the loaded modules and servers. |
restart |
Stops the server engine including all active modules and servers and restarts with reloaded configuration. If the new configuration contains any malfunctioning errors, the last running configuration will be reused. |
stop |
Terminates the server engine including all active modules and servers. |
Example of an output for the operating status
VERS: 0.0.0 00000000 TIME: 2017-07-01 06:00:00 TIUP: 2017-07-01 06:00:00 XAPI: Seanox-SSX/5.0 20170101 XAPI: Seanox-SSI/5.0 20170101 XAPI: Seanox-WebDAV/5.0 20170101 SAPI: TCP 127.0.0.1:25000 SAPI: TCP 127.0.0.1:443 SAPI: TCP 127.0.0.1:80
The output of the operating status is multiline.
Each line begins with a prefix followed by the value.
Overview of prefixes
Prefix | Description |
---|---|
VERS |
Version information |
TIME |
Current system time |
TIUP |
Initial start time |
XAPI |
Extension API Modules identify themselves with manufacturer, name and version. Modules without ID are not displayed. |
SAPI |
Server API Server identifies itself with protocol, address and port. |
Telnet client
telnet <address> <port> status
Java binary
java -cp devwex.jar com.seanox.devwex.Service status java -cp devwex.jar com.seanox.devwex.Service status <address:port>
Batch script in Windows
devwex.cmd status devwex.cmd status <address:port>
Shell script in Unix/Linux/MacOS
devwex.sh status devwex.sh status <address:port>