...
For a CodeMeter license server, type the following command:
cmu32.exe --list-network --server host [--firmcode vendor]
where host is the hostname appropriate for your license server, and vendor is the vendor daemon's name. Specifying the vendor is also optional.
Green Hills Software
For a Green Hills Software license server, type the command:
lic_find_licenses -w -l host:port
where port and host are the port and host appropriate for your license server.
FLEXlm/FlexNet
For a FLEXlm/FlexNet license server, type the following commands:
lmutil lmdiag -n -c [port]@host
lmutil lmstat -i -a -c [port]@host [-S vendor]
...
To query a FlexNet HAL license server manually for Linux, type the following commands:
lmutil lmdiag -n -c [port]@host1:host2:host3
lmutil lmstat -i -a -c [port]@host1:host2:host3 [-S vendor]
To query a FlexNet HAL license server manually for Windows, type the following commands:
lmutil lmdiag -n -c [port]@host1;host2;host3
lmutil lmstat -i -a -c [port]@host1;host2;host3 [-S vendor]
...