C++ User's Guide

-xlicinfo

Shows license server information.

This option returns the license-server name and the user ID for each user who has a license checked out. When you use this option, the compiler is not invoked, and a license is not checked out.

If a conflicting option is used, the latest one on the command line takes precedence, and a warning is issued.

Examples

Do not compile; report license information:

CC -c -xlicinfo any.cc

Compile; do not report license information:

CC -xlicinfo -c any.cc