Query status
Linaro Forge Licence Server provides a simple HTML interface to allow for querying of the current state of the licenses being served. This can be accessed in a web browser at the following URL:
http://<hostname>:<serverport>/status.html
For example, using the values described in Licensing example, the URL would be:
http://server.physics.acme.edu:4252/status.html
Initially, no licenses are being served, and the output in your browser window would be similar to the following:
[Licences start]
[Licence Serial Number: 1014]
[No licences allocated - 2 available]
[Licences end]
You can see that two licenses are available in this example.
As licenses are served and released, the information displayed will change. To update the status display, simply refresh your web browser window. For example, after one Linaro product is started, the output is updated:
[Licences start]
[Licence Serial Number: 1014]
[1 licences available]
[Client 1]
[mac=00:04:23:99:79:65; uname=gwh; pid=14007; licence=1014]
[Latest heartbeat: 2004-04-13 11:59:15]
[Licences end]
Then, after another Linaro product is started and the web browser window is refreshed (notice the value for number of licences available), the output is updated:
[Licences start]
[Licence Serial Number: 1014]
[0 licences available]
[Client 1]
[mac=00:04:23:99:79:65; uname=gwh; pid=14007; licence=1014]
[Latest heartbeat: 2004-04-13 12:04:15]
[Client 2]
[mac=00:40:F4:6C:4A:71; uname=graham; pid=3700; licence=1014]
[Latest heartbeat: 2004-04-13 12:04:59]
[Licences end]
Finally, after the first Linaro product finishes:
[Licences start]
[Licence Serial Number: 1014]
[1 licences available]
[Client 1]
[mac=00:40:F4:6C:4A:71; uname=graham; pid=3700; licence=1014]
[Latest heartbeat: 2004-04-13 12:07:59]
[Licences end]
Caution
If you do not want this page to be widely accessible, Linaro recommends authenticating it using a third-party proxy. You can also disable it, before starting the server, by setting the environment variable FORGE_SILENT_LICENCESERVER=1
.