IBM License Metric Tool
IBM® UrbanCode™ Build uses the IBM® License Metric Tool to collect and measure license use.
The IBM® License Metric Tool tracks the number of licenses used by the IBM UrbanCode Build instance. The tool tracks license usage with IBM® Software License Metric Tag (SLMT) files. You can review your license usage on the License page. The License page displays the current number of used licenses, and also provides a record of previous usage. For more information about license reports, see Monitoring license usage.
SLMT file format
The XML-based SLMT file is stored in the IBM UrbanCode Build server's server_installation/var/log directory, and has the file extension of .slmtag. The file is updated whenever the server checks license usage.The
SLMT file's <Type>
element contains the license type. For the IBM UrbanCode
Build, the value
is always FLOATING_USER
.
The <Value>
element contains the
number of users that are using the license. For IBM UrbanCode
Build, a
licensed user is a committer. A committer is a user who does some activity that commits source code
to a source repository used by IBM UrbanCode
Build. The
number of licenses that you purchase represents the number of concurrent users who can commit source
code to a repository.
This code fragment contains an example SLMT file.
<SchemaVersion>2.1.1</SchemaVersion>
<SoftwareIdentity>
<PersistentId>795c47c590734ed9a028b7e3f5be0da3</PersistentId>
<Name>IBM UrbanCode Build Committer</Name>
<InstanceId>/C:/opt/uBuild612</InstanceId>
</SoftwareIdentity>
<Metric logTime="2016-03-28T13:19:41-04:00">
<Type>FLOATING_USER</Type>
<SubType></SubType>
<Value>1</Value>
<Period>
<StartTime>2016-03-28T13:19:41-04:00</StartTime>
<EndTime>2016-03-28T13:19:41-04:00</EndTime>
</Period>
</Metric>