The following commands can generally be used to start,
stop, and maintain pr0svce, the Server daemon. These commands are
unique to the Server under UNIX.
Note: Only one command line argument can be presented at
a time. An argument must be preceded by a dash (-) or a slash (/).
- pr0svce -h
- Display Help.
- pr0svce -s [ id1 ]
- Shut down pr0svce after last client disconnects.
- id1
- Process ID, User ID, or endpoint to identify pr0svce.
Leave blank to shut down daemons started under the logged on account.
- pr0svce -u [ id1 ]
- Reload configuration file for pr0svce.
- id1
- Process ID, User ID, or endpoint to identify pr0svce.
Leave blank to reload for daemons started under the logged on account.
- pr0svce -d [ id1 ]
- Display all instances of pr0svce in the system.
This command can be run under root or any user account to determine
whether pr0svce is running.
- id1
- Process ID, User ID, or endpoint to identify pr0svce.
Leave blank to display all daemons for all users.
- pr0svce -l [ id1 ]
- List active processes and clients connected to pr0svce.
The PID for each client is displayed, and can be referenced in the
-c (cancel client) command.
- id1
- Process ID, User ID, or endpoint to identify pr0svce.
Leave blank to list for all daemons for all users.
- pr0svce -k [ id1 ]
- Shut down pr0svce without waiting for clients to
disconnect.
Use this command only when the normal
shutdown (-s) is inoperative. Open datasets (including the trace file)
are truncated to the last written buffer and each client SVER process
must be identified and killed individually.
- id1
- Process ID, User ID, or endpoint to identify pr0svce.
Leave blank to shutdown all daemons started under the logged on account.
- pr0svce -daemon
- Start pr0svce as a foreground process.
To
run pr0svce as a background process, use:
nohup pr0svce -daemon >outfilename 2>&1 &
This command causes any hang-up signals to be ignored,
and directs standard output (stdout) and standard error (stderr) streams
to outfilename, appending stderr to stdout.
- pr0svce -c { clientid | ALL } | [ id1 ]
- Cancel client processes.
- clientid
- Specify client name, or client process ID, or the
word ALL.
- id1
- Provide process ID, User ID, or endpoint to identify
pr0svce or leave blank to cancel clients for all daemons started under
the logged on account.
- pr0svce -v configuration file name
- Validate the contents of a configuration file and
exits.
- configuration file name
- Valid
configuration file name. If you do not provide a configuration file
name, the normal server is validated.