rtserver shell script
The rtserver script contains commands
that control the server process. You must change the script if the
server is installed in a directory other than the default directory, /opt/IBM/InfoSphere/Optim.
You must also change the script if the server is run under a user
account other than root.
The rtserver shell script
is in the /sbin directory that is subordinate to
the Optim™ installation directory.
To modify the environment variables that specify the server directory
and the user account, edit the following places in the script:
PSTHOME=${PSTHOME:directory/rt}to define the directory that contains the server.PSTUSER=${PSTUSER:user}to identify a user other than root.
Arguments
rtserver arguments define the operation
to be performed, as follows.
- rtserver start
- Start the server in the background. The stdout and stderr output information is written to a file named pr0svce.out, which can be found in the temp directory that is subordinate to the installation directory.
- rtserver stop
- Stop a running server instance. The server stops after processes are complete.
- rtserver kill
- Kill a running server instance. The server stops abruptly, without regard to running processes.
- rtserver update
- Reread the pstserv configuration file after processes complete. Use this command to change the configuration file without restarting the server.
- rtserver list
- List all processes that are running on the server.
The list includes the following information:
- PID of the process
- name of the computer that delegates the process
- type of process (archive, extract, and so on)
- name of the process request
- time that the process started
- elapsed running time for the process
- rtserver verify server
- Verify settings in the pstserv configuration file, used to configure the system for running the server.
- rtserver verify local
- Verify the settings in the pstlocal configuration file, which provides settings for local operation, by using the command line.