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:

Element

Description

Possible values

Name

Name of the thread

  • Any string

Id

ID of the thread

  • Integer

State

Thread status

  • NEW

  • RUNNABLE

  • BLOCKED

  • WAITING

  • TIMED_WAITING

  • TERMINATED

Priority

Priority of the threads

  • Integer betwenn 1 and 10

Daemon

Specification whether the thread is a background service

  • true

  • false

CpuTime

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