Details
| I found a little gen in my server console last night. Thought it was really cool!.
If you append -xml to a remoite server console command the domino server returns the result as xml ie
show server -xml
would look something like this...
<?xml version="1.0" encoding="UTF-8" ?>
<!-- XML format not finalized and may change -->
<server version="Release 6.5.1" platform="Windows/32" time="20050411T131051,50+01">
<name>Server/Org</name>
<title>awdes01</title>
<directory>c:\Lotus\Domino\Data</directory>
<partition>c.Lotus.Domino.Data</partition>
<uptime days="9" hours="0" minutes="18" seconds="38" />
<transactions minute="0" hour="26" peak="6479" />
<sessions peaknumber="11" peaktime="20050410T155715,34+01" />
<transactions count="145779" maxconcurrent="20" />
<threadpool threads="40" />
<availability index="100" state="AVAILABLE" />
<mailtracking enabled="1" state="Enabled" />
<mailjournalling enabled="0" state="Not Enabled" />
<sharedmail enabled="0" state="Not Enabled" />
<mailboxes number="1" />
<mail pending="0" dead="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>
show server -users -xml
<?xml version="1.0" encoding="UTF-8" ?>
<!-- XML format not finalized and may change -->
<users>
<userdata tid="0046" netaddress="ipaddress" port="TCPIP" service="NRPC" state="Open" idle="4" build="194" version="Release 6.5.1">
<name>Steve Robinson/Org</name>
<databases>
<dbdata path="mail\steve.nsf" lastused="38"/>
</databases>
</userdata>
<userdata tid="0049" netaddress="ipaddress" port="TCPIP" service="NRPC" state="Open" idle="0" build="194" version="Release 6.5.1">
<name>Steve Robinson/Org</name>
<databases>
<dbdata path="filepath\forum.nsf" lastused="3"/>
</databases>
</userdata>
</users>
click here to see image of how rConsole would look if you used it for this example.
|