Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If there are errors in the communication between the license server and the Usage Monitor, this command will return information about the errors. Otherwise, the command returns normal statistics information for the indicated license server.

Manually querying a Dassault license server

 

If needed, you can query a Dassault license server manually to get license or user information.

 

To get license information:

 

  1. Create a text file named file.txt.
     
  2. Add the following four lines to file.txt:
    c <host> <port>
    gli
    d
    q

    where host and port are the host and port appropriate for your license server.
     
  3. Run the command:

    dslicsrv -admin -i file.txt

 

To get information about users who are using licenses:

  1. Create a text file named file2.txt.
     
  2. Add the following four lines to file2.txt:
    c <host> <port>
    glu -all
    d
    q

    where host and port are the host and port appropriate for your license server.
     
  3. Run the command: 

    dslicsrv -admin -i file2.txt

Realtime usage error

If a monitored license server is hosted on a different machine than License Statistics is installed on, the license server's response to License Statistics' query about its status may be delayed. In such cases, a warning such as the following occurs for each query that was delayed. 

...

  1. Start License Statistics in debug mode. (See our Knowledgebase article Enabling License Statistics debug logs for troubleshooting for instructions on enabling debug mode.) 
  2. Locate the command used to start the Apache web server in the xflicstat.log file; for example: 

    [2012-04-01 08:00:00] XF_DEBUG: Starting Apache web server process: X:\licstat\apache\bin\httpd.exe -f "X:\licstat\apache\conf\httpd.conf" -d "X:\licstat\apache" 
  3. Using this command, manually start the Apache web server and note any errors that occur. 

...