Release Date: 1 February 2008
Nametestlicense - verify that a Daylight license is valid.
Unix Synopsistestlicense [-i|-v|-t|-p|-s name]
Descriptiontestlicense invokes Daylight's license-checking functions to verify that a Daylight license is valid. It has three uses:
To verify that a newly-installed system's license is valid and the environment variables (e.g. DY_ROOT) are correct.
Don't check the license; instead, print the identifying information for this particular machine (e.g. for the "cpu type:" and "cpu idno:" lines of the license file). The output is suitable for using directly in the license file.-v
Give verbose information about the license processing, including the license sources used and the complete set of features licensed. In the case of FLEXnet license features, the license availability and if present, Daylight server and database connection counts are provided. Available FLEXnet license modules are indicated with the plus sign, "+" while unavailable modules are marked with a minus sign, "-". This option is extremely useful for debugging.-t name
Test if Daylight Toolkit name is licensed; return zero exit status if it is, or nonzero if not.-p name
Test if Daylight application program name is licensed; return zero exit status if it is, or nonzero if not.-s name
Test if Daylight service is licensed; return zero exit status if name is an authorized service, or nonzero if not.-t any
In the special case where name is "any", testlicense checks only that the license is valid and returns zero status if it is. It does not check for any particular program, toolkit, or service.
Return ValueReturns status zero if the license is found and is valid, or one if the license is invalid or can't be found. If there is a problem, a diagnostic message is printed. The '-v' option can then be used to debug the difficulty.
Test for a valid license and print (on standard output) a list of licensed products.$DY_ROOT/bin/testlicense -i
Print the machine's identifying information, e.g. on a Sun, it might print:
#hostname: myhost$DY_ROOT/bin/testlicense -v
Print verbose debug information, e.g. on a machine with only a FLEXnet license file, it might print:
Related Topicslicensing(5) Daylight Theory Manual