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

Compare with Current View Page History

« Previous Version 18 Next »

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

To start the Usage Monitor:

  1. Run the Usage Monitor 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 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 in console mode. The -c option displays the same information that is written to the Usage Monitor log file, and should be used only to check the Usage Monitor; 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 daemon to start automatically, you must run it manually (as described above) each time you reboot the machine.

  3. 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 Monitor:

  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