Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Before running the Usage Monitor License Statistics daemon on Unix, be sure to edit the configuration file as needed for your site (see Configuring the License Statistics Usage Monitor).

Note: If you created the License Statistics init script during installation, we recommend using the init script to start and stop the service instead of starting and stopping it manually as described below.

To start the Usage MonitorLicense Statistics:

  1. Run the Usage Monitor License Statistics as a daemon by entering the following command from a Unix command line:

    ./xflicstat -b /path/configfile

    where path/configfile is the full path to the Usage Monitor the License Statistics configuration file; for example, ./xflicstat -b ./xflicstat.cfg. 

    If you execute this command outside of the License Statistics installation directory, you must designate the path using an additional command line variable; for example:

    LD_LIBRARY_PATH="/usr/xflicstat/" /usr/xflicstat/xflicstat -b /usr/xflicstat/xflicstat.cfg

    Note: Alternatively, you may use the -c option (xflicstat -c /path/configfile) to run the Usage Monitor License Statistics in console mode. The -c option displays the same information that is written to the Usage Monitor the License Statistics log file, and should be used only to check the Usage MonitorLicense Statistics; for example, for troubleshooting purposes.
  2. Consult your OS documentation for further information on how to start up the daemon process automatically upon reboot. If you do not set up the Usage Monitor License Statistics daemon to start automatically, you must run it manually (as described above) each time you reboot the machine.

    To view the statistics, go to http://hostname:port, where server is the name of the computer where License Statistics was installed and port is the http server port number specified in the License Statistics configuration file, as described in Configuring the License Statistics Usage Monitor.

To kill (stop running) the Usage MonitorLicense Statistics:

  1. Sign in as the owner that started the process, and type the following command from a Unix command line:

    ps ux | grep xflicstat

    This command returns a process number (pid).
  2. Type the following command, using the returned process number for pid:

    kill pid

...