25.01.2015 Views

Caché System Administration Guide - InterSystems Documentation

Caché System Administration Guide - InterSystems Documentation

Caché System Administration Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Managing <strong>Caché</strong> Licensing<br />

Do $<strong>System</strong>.License.ShowCounts()<br />

$<strong>System</strong>.License.ShowServer displays the active license server address and port:<br />

Do $<strong>System</strong>.License.ShowServer()<br />

The following sections describe several other methods that show license information:<br />

• Methods to Show Local License Information<br />

• Methods to Show License Server Information<br />

4.3.1 Methods to Show Local License Information<br />

The subroutines listed below dump the contents of license tables contained locally in instance shared<br />

memory. In general, they identify the client:<br />

$<strong>System</strong>.License.DumpLocalAll dumps all local license table entries to the all.dmp file in the current<br />

directory:<br />

Do $<strong>System</strong>.License.DumpLocalAll()<br />

An example of the contents of the all.dmp file:<br />

License Capacity = 5, Current use = 2, Units Remaining = 3<br />

0) User ID = 127.0.0.1, Connections = 2, CSP Count = 0, Time active = 90<br />

1) User ID = 192.9.202.81, Connections = 1, CSP Count = 0, Time active = 49<br />

2) free<br />

3) free<br />

4) free<br />

$<strong>System</strong>.License.DumpLocalInUse dumps all local license table entries in use to the inuse.dmp file<br />

in the current directory:<br />

Do $<strong>System</strong>.License.DumpLocalInUse()<br />

An example of the contents of the inuse.dmp file:<br />

License Capacity = 5, Current use = 2, Units Remaining = 3<br />

$<strong>System</strong>.License.DumpLocalPID dumps local license table use by process ID to the piduse.dmp file<br />

in the current directory:<br />

Do $<strong>System</strong>.License.DumpLocalPID()<br />

An example of the contents of the piduse.dmp file:<br />

PID Process LID Type Con MaxCon CSPCon LU Active Grace<br />

592 <strong>System</strong> 0 0 0 0 0 0<br />

2816 <strong>System</strong> 0 0 0 0 0 0<br />

688 <strong>System</strong> 0 0 0 0 0 0<br />

58 <strong>Caché</strong> <strong>System</strong> <strong>Administration</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!