2018年5月23日 星期三

License issues

1) Set License debugging ENV variables
setenv FLEXLM_DIAGNOSTICS 3
setenv ALTOS_LM_DIAGNOSTICS 1
setenv CDS_LIC_QA_TesT `pwd`/CDS_LOG_FILE


The last one creates a detailed license debug logfile that shows tools and activity. This is the key.

2) Run the target tool/flow

3) Search the CDS_LOG_FILE for relevant tools and hits
> egrep "Checking out|Initialization" CDS_LOG_FILE

3a) "Initialization started" lines show the tool name and PID.
- Use this to track subsequent activity for that process

3b) "Checking out" lines only show license checkouts
- Useful for tracking tools and licenses used
- Does not show all of the rest of the license activity (check FeatureExists, FeatureStatus, etc.) which are additional license server hits and add to the DDoS effect.

沒有留言:

張貼留言

標籤