Marben, As far as I know, there is no SKILL API (private or public) to retrieve this information. It may not be trivial because there may be multiple license servers in the path anyway. Generally speaking you'd have to look at $CDS_LIC_FILE (or $LM_LICENSE_FILE) and then look at the lmgrd processes running on those machines, locate the file, and that should tell you the hostid used for that machine in the SERVER line at the top. In some cases machines may have more than one hostid so simply running lmhostid on the machine may not be enough (although it usually would be enough). Regards, Andrew.
↧