The xbisctl utility can be used by a root user to control the Service Engine and the BIS Session/Logging daemon. It can also display the BIS sessions and, if necessary terminate a session. The xbisctl utility may be copied or linked to a directory in the user's path; it is located in the bin subdirectory of the directory where BIS was installed.
The xbisctl utility may be run in one of two ways. If no parameters are specified on the command line, it reads commands from standard input. Alternatively, a single command may be specified on the command line. The following table lists the commands that xbisctl recognizes:
Start | Starts the Service Engine and the Session/Logging daemon. |
Stop | Stops the Service Engine and the Session/Logging daemon. |
Status | Displays a one-line status for Service Engine and the Session/Logging daemon. |
Refresh | Refreshes the Service Engine and the Session/Logging daemon. This tells the BIS daemons to reread their configuration file. |
Sessions | List the current sessions. |
Kill | Terminate a session. |
Exit | Stop reading standard input. Alternatively, press ctrl-D to end input. |
Status information can be displayed in a browser window. At the end of the supplied mod_xbis.conf file, there are two ScriptAlias directives. Uncomment one or both of these to enable this feature. The path may be changed to suit your needs. These run a shell script that executes the xbisctl utility with the status command on the command line.