GetStatus

Use the GetStatus action to verify that the IDOL Speech Server service is running. For information on the GetStatus action, see the IDOL Speech Server Reference.

For example:

http://IDOLSpeechServerHost:port/action=GetStatus

You can view details of the path to the base configuration file and the tasks configuration file that IDOL Speech Server uses in the <baseconfigpath> and <tasksconfigpath> fields in the GetStatus response.

<autnresponse>
  <action>GETSTATUS</action>
  <response>SUCCESS</response>
    <responsedata>
      <version>10.9.0.1</version>
      <servicePort>19000</servicePort>
      <binaryDataPort>16000</binaryDataPort>
      <baseconfigpath>/opt/HewlettPackardEnterprise/IDOLServer/IDOLSpeech/speechserver.cfg</baseconfigpath>
      <tasksconfigpath>/opt/HewlettPackardEnterprise/IDOLServer/IDOLSpeech/speechserver-tasks.cfg</tasksconfigpath>
      <resources></resources>
    </responsedata>
</autnresponse> 

In addition, you can also view information on tasks, such as the output files associated with any task, including the number of files, the file name, and the label that you can use to retrieve the file. This can be particularly useful in cases where the output files were automatically generated.

The GetStatus response also includes details of any limitations on resource loading, as well as details of currently loaded and active resources. For example:

<autnresponse>
    <action>GETSTATUS</action>
    <response>SUCCESS</response>
    <responsedata>
        <resources>
            <limits>
                <maxLangResources>2</maxLangResources>
		 <minLangResources>1</minLangResources>
                <maxAfpResources>Unlimited</maxAfpResources>
                <minAfpResources>1</minAfpResources>
                <maxSidResources>Unlimited</maxSidResources>
                <minSidResources>1</minSidResources>

            </limits>
            <usage>
                <totalLoaded>4</totalLoaded>
                <totalActive>4</totalActive>
                <langsLoaded>2</langsLoaded>
                <langsActive>2</langsActive>
                <afpLoaded>1</afpLoaded>
                <afpActive>1</afpActive>
                <sidLoaded>1</sidLoaded>
                <sidActive>1</sidActive>
            </usage>
        </resources/
    </responsedata>
</autnresponse> 

This example shows the response when you submit a GetStatus action to an instance of IDOL Speech Server with four loaded resources in total. Four resources are active (that is, in use or manually loaded and not currently unloadable). There is no limitation on the total number of resources.

Two of the loaded resources are language resources (Lang or Langvt). The limit on the number of language resources is set to 2, so you cannot load any additional language resources.

One of the resources is for audio fingerprinting (Fpdb), and one is for speaker identification (SidBase). There is no upper limit for SID or AFP resources.

For more information on how to use the maxLangResources, maxAfpResources, and maxSidResources parameters to configure resource loading, see the IDOL Speech Server Reference.

The GetStatus response also includes task information, including the number of active and queued tasks. For example:

<tasks>
    <maxTasks>8</maxTasks>
    <running>8</running>
    <queued>5</queued>
    ...
</tasks>

For each specific task, the response includes task details, including information on any warnings associated with the task, the time and date of the warning, and the warning index. For example:

<nwarnings>2</nwarnings>
<maxwarnings>5</maxwarnings>
<warnings>
    <warning>
        <index>1</index>
        <message>[ivdevel] No positive examples for template Brown</message>
        <time>14/01/2017 15:45:20</time>
    </warning>
    <warning>
        <index>2</index>
        <message>[ivdevel] No development scores found for template [Smith] – threshold not set</message>
        <time>14/01/2017 15:45:20</time>
    </warning>
</warnings> 

For information on how to use the MaxWarnings parameter to restrict the number of individual warnings included in the GetStatus response, and how to use the Brief parameter to reduce the amount of information in the response to prevent it from becoming too bloated, see the IDOL Speech Server Reference.


_HP_HTML5_bannerTitle.htm