Skip to main content
Skip table of contents

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:

ElementDescriptionPossible values
NameName of the thread
  • Any string
IdID of the thread
  • Integer
StateThread status
  • NEW
  • RUNNABLE
  • BLOCKED
  • WAITING
  • TIMED_WAITING
  • TERMINATED
PriorityPriority of the threads
  • Integer betwenn 1 and 10
DaemonSpecification whether the thread is a background service
  • true
  • false
CpuTimeTime needed for the execution of the current thread in seconds
  • Integer
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.