Bug 7850 - Difficult to get current license usage
Summary: Difficult to get current license usage
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.19.0
Assignee: Frida Flodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-02 10:50 CET by Frida Flodin
Modified: 2025-03-28 14:56 CET (History)
1 user (show)

See Also:
Acceptance Criteria:
MUST: * tlctl must show number of currently used licenses * tlctl must show total number of available licenses SHOULD: * tlctl should show peak license usage over a certain period * tlctl should show license expiration date COULD: * tlctl could warn about unloaded licenses * tlctl could warn about invalid licenses * tlctl could warn about expiring licenses * tlctl could warn about approaching license limit * tlctl could show the maximum ThinLinc version your licenses are valid for * tlctl could be able to delete invalid licenses * tlctl could be able to download licenses


Attachments

Description Frida Flodin cendio 2022-03-02 10:50:58 CET
It would be nice to have a command to quickly find out how many licenses are in use. 

With `tlctl session list` you can get the total number of sessions right now and for most systems, this is equal to the number of used licenses. But this is not always true when, for example, allowing multiple sessions per user.
Comment 1 Pierre Ossman cendio 2022-03-08 12:44:21 CET
We don't currently have any convenient way to get license usage. tlwebadm only has the graphs, and no textual information. The only way is to dig around in the log files at the moment.
Comment 2 Linn cendio 2022-03-11 08:53:15 CET
It is now possible to list sessions with tlctl (bug 425) which gives a summary at the end over how many sessions were listed. This summary should in theory correspond to the number of licenses used but without any documentation highlighting it, this might not be clear to the user.
Comment 4 Frida Flodin cendio 2025-03-28 13:56:53 CET
This might not be something we want to document, but I looked closer into when vsmserver updates the license data that it uses. We currently have a timer that loads files once every 12 hours. So an admin might see different results from 'tlctl license list' even without restarting vsmserver.
Comment 5 Frida Flodin cendio 2025-03-28 14:56:55 CET
Here are some things that are left before the MUST criteria are met:
- Write new documentation for 'tlctl license show'
- Maybe refer to 'tlctl license show' in other parts of documentation?
- Write release notes

Note You need to log in before you can comment on or make changes to this bug.