cells-enterprise admin license stats
Load current license statistics
Synopsis¶
DESCRIPTION
Query running Cells instance to load license statistics. Without arguments, it will output license statistics
TEMPLATING
Using the --format flag allows you to create your own output using Golang templating. Input data is { ActiveUsers:int MaxUsers:int UsersPercent:int ExpireTime:timestamp ExpireDate:string ExpireIn:seconds } You can for example display a simple percentage using {{.UsersPercent}}% template.
You can use conditions to return an error signal (1) for special cases, by printing the specific ERROR_CODE keyword.
For example:
-
Return error if users usage is greater than 90% $ ./cells-enterprise admin license-stats --format="{{if gt .UsersPercent 90}}ERROR_CODE{{end}}"
-
Return error if license will expire in less than 3 days (518400 seconds) $ ./cells-enterprise admin license-stats --format="{{if lt .ExpireIn 518400}}ERROR_CODE{{end}}"
Options¶
Options inherited from parent commands¶
SEE ALSO¶
- ./cells-enterprise admin license - Manage Cells Enterprise license
Auto generated by Pydio Cells Enterprise Distribution v4.4.13 on 7-May-2025