The information on this page refers to License Statistics 4.5 or newer, which added the License Statistics init script. This feature is not available in previous versions of License Statistics. |
When License Statistics is installed by the root user, an init script is created during installation. If a user other than root is performing the installation, the init script will not be created.
After installing License Statistics as root, you can use the init script to run the following commands, where /etc/init.d is the directory that contains the init scripts for your specific Linux distribution (the example directory is for Debian and RHEL):
Command | Action |
---|---|
/etc/init.d/xflicstat start | Starts License Statistics. |
/etc/init.d/xflicstat stop | Stops License Statistics. |
/etc/init.d/xflicstat restart | Restarts License Statistics. |
/etc/init.d/xflicstat status | Reports whether License Statistics is currently running. |
Installing the init script to start automatically upon system startup
You can start License Statistics together with the operating system by installing it using the following command. You must be logged in as root to execute this command.
For Debian / Ubuntu:
update-rc.d xflicstat defaults
For RHEL / CentOS / SUSE / OpenSUSE:
chkconfig --add xflicstat