You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Next »

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

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 License Statistics:

  1. Run 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 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 License Statistics in console mode. The -c option displays the same information that is written to the License Statistics log file, and should be used only to check License 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 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 License Statistics.

To kill (stop running) License 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

          For example:

         # ps ux |grep xflicstat   
         26274 pts/1    0:00 xflicstat  
         # kill 26274

  • No labels