jBTP


jBTP is an acronym for jBASE Background Task Processor. The jBTP daemon is responsible for controlling the progress of jBASE background processes. Several jBASE commands can be used to interface with the jBTP daemon in order to start, stop or suspend and resume jBASE background processes.

A background process can be used to execute a specific list of jobs or tasks. The jBTP daemon passes the background process the next task or job from the specified task list, as and when each task needs to be executed. The jBTP daemon also logs the current status of each background process as it completes each task.

NOTE: This daemon has been removed from jBASE 4.1 and later

 

JBTP COMMAND

The jBTP command must be run by the super user to start the jBTP daemon but can be used by other users to make inquiries of the jBTP daemon. The syntax is as follows:

jBTP -Options

Where Options and Permissions required can be:

Option Meaning Permissions
-i initialize and become the jBTP daemon root
-b start daemon in background root
-h Display options all
-d Display current jBTP status all
-k Kill the currently running daemon root
-v Display in verbose mode, use with d option all
-s Suspend process scheduler root
-r Resume process scheduler root
-lff Where ff is logfile for process status root
-tdd Where dd is directory for temp files root

 

The following commands are used for jBTP control.

PH-ALLOCATE Allocate port numbers for jBASE background processes
PH-CLEAR Clear the jBASE background task history log file
PH-DELETE Deallocate port numbers for jBASE background processes
PH-KILL Stop a jBASE background process
PH-RESUME Resume a jBASE background process
PH-START Start a jBASE background process
PH-STATUS Display the jBASE background tasks history log file
PH-SUSPEND Suspend a jBASE background process
Z Same functionality as PH-START
ZH As Z except direct output to hold file

Note that the jBTP daemon and the PH commands are not implemented on the Windows version of jBASE prior to release 4. To start background processes on Windows, use the jstart command.


Daemons