pibstat

pibstat


phantom-status Index Level pick-setup
Syntax pibstat value
Category TCL
Type Verb
Description displays the current pib status bit settings for a given value.

The "value" is the two-byte pib status returned by the "where" command, under the column labeled "PIB Stat".

The PIB Stat is perhaps the most useful indication of resource usage on a Pick machine. The first 2 digits of this value indicate the "state" of a process. Here are some of the more common values:
F3xx  Waiting-for-input or displaying text
E3xx  Waiting-for-input or displaying text with echo off
F5xx  Displaying text, but line is in XOFF (Ctrl-S) state
FFxx  Process is currently using the CPU
BFxx  Process is currently sleeping
DFxx  Process id currently requesting disk I/O
Options
See Also where pib status
Example :where 68
Ln  PCB    PIB   ABS   Stat  ...
    FID    Stat  Bas

*068 024EE5 FF10 000018    1  ...

This returns the pib status for port 68 as "ff10", which can then be used in the "pibstat" command:

:pibstat ff10

1111 1111 0001 0000

Process is running or activatable
          not sleeping
          not frame faulted
          echoing input
          not I/O roadblocked
          not reading
          not writing
          not comatized
          not DCD on
          type-ahead enabled
          modem-control enabled.
Warnings On D3, this command reflects the pick process status, and the OA/RT format is no longer supported.

Note that "roadblocked" can mean that the port is currently reading or writing a character.
Compatibility D3 7.0 OA/RT AP
phantom-status Index Level pick-setup