getDongleAllocStats
First introduced in version: 3.00.6
Syntax
getDongleAllocStats()
Details
Returns the daily maximum license allocation for the past 408 days on a license
server. The allocation is the number of CPU cores, memory, and nodes assigned
through registerLicenseServerUser or setLicenseServerUserResource.
The system records the previous day's data at midnight and records the current day's data when the license server shuts down. Only an administrator can call this function on a license server configured with licenseFromDongle=true.
Arguments
None
Returns
A table with the following columns:
| Column | Data Type | Description |
|---|---|---|
| date | DATE | The statistics date. |
| cores | INT | The maximum number of CPU cores allocated on the date. |
| memoryGB | INT | The maximum memory allocated on the date, in GB. |
| nodes | INT | The maximum number of nodes allocated on the date. |
Examples
Run the following example as an administrator on a license server configured with licenseFromDongle=true. The result depends on the actual license allocation.
getDongleAllocStats()
Related function: getDongleUsageStats
