decedi_ps_control(8) — Maintenance
Name
decedi_ps_control − The decedi_ps_control command prints a summary of the contents of the DEC/EDI TCP/IP Port Server’s control cache. This can then be used to examine what the Port Server thinks it is doing.
In addition the command allows some of its information to be recached to pick up user changes.
The decedi_ps_control command gives general details of the Port Servers environment, such as:
The current host name.
The tracing options currently in use. These can be updated when a recache request is issued.
The state and maximum number of children for each of the supported services. The maximum number can be updated when a recache request is issued.
The decedi_ps_control command also gives the following details of each child running on behalf of a DEC/EDI TCP/IP service:
Its index in the Port Server’s state table.
Its process Id.
Its current state.
If busy, the task that it is doing.
FORMAT
decedi_ps_control [show] | [recache]
FLAGS
show
Displays the Port Server’s environment.
recache
Reloads the tracing and maximum number of children from the DEC/EDI system environment file, /usr/sbin/decedi_sysetup. This is useful when you want to increase the number of child processes for a type, or change the tracing information without having to shut down DEC/EDI.
Examples
# decedi_ps_control show
DEC/EDI Port Server Environment
===============================
Hostname = edisrv.reo.dec.com
Tracing = protocol
Service decedi_csg AVAILABLE
Maximum Servers = 1
Service decedi_cst AVAILABLE
Maximum Servers = 1
Service decedi_csf AVAILABLE
Maximum Servers = 3
Id = 1, Pid = 2268
State = IDLE Current Task = None
Id = 2, Pid = 2144
State = IDLE Current Task = None
#
In this example the DEC/EDI Port Server has all three supported services
available. Tracing of the Protocol is enabled. For the Post/Fetch service
(decedi_csf), there are currently two child processes available, with a
maximum of 3 allowed. Both the children are IDLE and hence available for
more requests.
# decedi_ps_control recache
# decedi_ps_control show
DEC/EDI Port Server Environment
===============================
Hostname = edisrv.reo.dec.com
Tracing = protocol traffic
Service decedi_csg AVAILABLE
Maximum Servers = 1
Service decedi_cst AVAILABLE
Maximum Servers = 1
Service decedi_csf AVAILABLE
Maximum Servers = 5
Id = 1, Pid = 2268
State = IDLE Current Task = None
Id = 2, Pid = 2144
State = IDLE Current Task = None
This example asks the Port Server to reinitialise its environment. The
environment was previously changed by editing
/usr/sbin/decedi_sysetup to add or amend the DECEDI_CSF_MAX and
DECEDI_TCP_TRACE environment variables.