tcl.pid Verb: Access/TCL

tcl.pid

Command tcl.pid Verb: Access/TCL
Applicable release versions: AP/Unix, AP 6.0
Category TCL (746)
Description displays the Unix process-id (pid) of a Pick process.
The Pick process process is specified by a "port.number" (pib), all Pick processes currently connected if the argument is "*", or the current process if there is no argument.

The first form displays the Unix process-id, (PID) or the specified Pick "port.number" (pib).

The second form displays the Unix process-ids of all the Pick processes currently connected to the virtual machine. An asterisk ('*') precedes the current process. If a list of PIDs 'pid.to.search' is provided, a plus sign ('+') is displayed before each process found in the list. This form is useful to determine whether a given Unix process, identified by its PID, is connected to the virtual machine.
Syntax pid {port.number} {(option}
pid * {pid.to.search} {(option}
Options p Directs output to system printer, via spooler.
Example
1)  :pid
34726

"34726" is the current Unix pid.

2)  :pid 22
14525

"14525" is the Unix pid for Pick pib "22".

3)  :pid * 36978 2345
PIB     PID       PIB    PID 
===    ======     ===   =====
0      35002    * 2     6513
+ 3    36978      4     42611

Displays the PIDs of all Pick processes and searches to determine if the Unix 
processes '36978' and '2345' are Pick processes. This 
command was executed on (Pick) line '2'. The Unix process 
'36978' is connected to the virtual machine on line '3', 
and the process '2345' is not connected to this virtual machine.
Purpose
Related basic.%kill
basic.%pgetpid
tcl.psr
pid
tcl.kill