B.5 將指令傳送至 Domino 伺服器主控台範例

本節顯示將指令傳送至 Domino 伺服器主控台並接收回應的驅動程式功能使用範例。

B.5.1 驅動程式 Shim 接收的 Domino 主控台指令

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

B.5.2 Notes 驅動程式 Shim 傳回的指令回應

回應會在 32000 個字元之後截短。

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