Watch Utility
The Watch utility is an administrative tool provided for use with the Sunbelt Data Manager, the application server, or a PL/B Windows program running in automation server mode. Watch is a PL/B program and may be executed using the windows runtime or the supplied batch file as follows:
watch (batch file)
or
plbwin watch
Upon initial execution, the user is presented with a connections dialog. This dialog allows definition and maintenance of a number of unique hosts. Public and Logon key specifications are permitted. Clicking the connect button will attempt a connection to the selected host. If a connection is not made, an appropriate error message is displayed and the user is allowed to correct the problem.
Once a connection has been established, a dialog is displayed containing a tree diagram of the server with its connected clients and open files. Also displayed is a tabbed dialog that contains information regarding the host server task. Additional tabs display a list of active tasks and open files.
Commands both on the toolbar and the Tools menu allow the data to be refreshed or the termination of all client tasks. A program option is also available that will automatically refresh the data based on a user specified time interval. Individual tasks are closed by selecting individual tasks or files on the appropriate tabs and clicking the "Close Selected" button. This action performs a "soft terminate" halting the program after execution of the current instruction.
The utility may be secured from unauthorized access by defining a password in the Options dialog.
See Also: PL/B Client Command Syntax
![]() |