olliwest
22nd April 2008, 11:04
Hello together,

i like to check the logged-in user and the license with the command

BclmCmd -mondts lnserver > c:\li.xml 2>&1

this creats a xml file with the content:

Retrieving monitoring data from license-server.
License-server host : lnserver
License-server port : 6005
Monitoring type : Details

Result:
<?xml version="1.0"?>
<details
date="Tue Apr 22 09:54:25 2008"
host="lnserver"
port="6005"

and so on...

but so i can`t parse the xml file, i have to delete the text(Retrieving monitoring...) outside the xml tags then it works.
But i like to create and prase the xml file without deleting the text manual.

have anybody an idea

;-)

jclju1
22nd April 2008, 11:35
Use command:

BclmCmd -mondts lnserver -o c:\li.xml

olliwest
22nd April 2008, 11:42
hi jclju1,

thanks...... :)