Operation: Threads Information
The Threads Information
operation outputs information about all threads running on the X4 Server.
Example Output
The adapter generates an XML document as output:
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ThreadsInformation>
<Thread>
<Name>MSC service thread 1-3</Name>
<Id>18</Id>
<State>WAITING</State>
<Priority>5</Priority>
<Daemon>false</Daemon>
<CpuTime>17</CpuTime>
</Thread>
<Thread>
<Name>X4 License Recheck Timer</Name>
<Id>224</Id>
<State>TIMED_WAITING</State>
<Priority>5</Priority>
<Daemon>true</Daemon>
<CpuTime>4</CpuTime>
</Thread>
</ThreadsInformation>
The following elements are included in the output:
Element | Description | Possible values |
---|---|---|
Name | Name of the thread |
|
Id | ID of the thread |
|
State | Thread status |
|
Priority | Priority of the threads |
|
Daemon | Specification whether the thread is a background service |
|
CpuTime | Time needed for the execution of the current thread in seconds |
|