D.5 Samples of Sending a Command to the Domino Server Console

This section shows an example of using the driver's ability to send a command to the Domino server console and receive a response.

D.5.1 Domino Console Command as Received by the Driver Shim

<nds dtdversion="1.0" ndsversion="8.5" xmlns:notes="http://www.novell.com/dirxml/notesdriver">
  <input>
    <notes:domino-console-command event-id="0">show server -xml</notes:domino-console-command>
  </input>
</nds>

D.5.2 Command Response Returned by the Notes Driver Shim

Responses are truncated after 32000 characters.

<nds dtdversion="2.0" ndsversion="8.x" xmlns:notes="http://www.novell.com/dirxml/notesdriver">
      <source>
        <product build="20040602_1644" instance="NotesDriver" version="2.1">Identity Manager Driver for Lotus Notes</product>
        <contact>Novell, Inc.</contact>
      </source>
      <output>
        <notes:domino-console-response event-id="0">
          <server platform="Windows/32" time="20040603T141140,48-06" version="Release 6.5">
            <name>myserver/dirxml</name>
            <title>MyServer Domino Server</title>
            <directory>C:\Lotus\Domino\Data</directory>
            <partition>C.Lotus.Domino.Data</partition>
            <uptime days="6" hours="1" minutes="52" seconds="38"/>
            <transactions hour="80" minute="2" peak="3614"/>
            <sessions peaknumber="5" peaktime="20040528T130914,23-06"/>
            <transactions count="35797" maxconcurrent="20"/>
            <threadpool threads="40"/>
            <availability index="100" state="AVAILABLE"/>
            <mailtracking enabled="0" state="Not Enabled"/>
            <mailjournalling enabled="0" state="Not Enabled"/>
            <sharedmail enabled="0" state="Not Enabled"/>
            <mailboxes number="1"/>
            <mail dead="0" pending="0"/>
            <tasks waiting="0"/>
            <transactionlogging enabled="0"/>
            <hosting enabled="0"/>
            <faultrecovery enabled="0" state="Not Enabled"/>
            <activitylogging enabled="0" state="Not Enabled"/>
            <controller enabled="0" state="Not Enabled"/>

<diagnosticdirectory>C:\Lotus\Domino\Data\IBM_TECHNICAL_SUPPORT</diagnosticdirectory>
            <consolelogging enabled="0" state="Not Enabled"/>

<consolelogfile>C:\Lotus\Domino\Data\IBM_TECHNICAL_SUPPORT\console.log</consolelogfile>
          </server>
        </notes:domino-console-response>
        <status event-id="0" level="success"/>
      </output>
</nds>