getDongleUsageStats

First introduced in version: 3.00.6

Syntax

getDongleUsageStats()

Details

Returns the daily maximum actual license usage for the past 408 days on a license server. The usage is calculated from the CPU cores, memory, and node count actually consumed by online nodes.

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 used on the date.
memoryGB INT The maximum memory used on the date, in GB.
nodes INT The maximum number of online nodes 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 usage of online nodes.

getDongleUsageStats()

Related function: getDongleAllocStats