The bbs command reports status of the voice system Bulletin Board (BB).
Synopsis
bbs [-d] [-h] [-l]
Description
The bbs command displays the field values of the BB slots. This information is sent to standard out (stdout). Without any options, information is extracted only from the dynamic portion of the BB and printed in short format. Otherwise the information displayed is controlled by the following command options:
Option |
Description |
-d |
Prints information about the dynamic portion of the BB (the default) |
-h |
Prints information about the hardcoded portion of the BB |
-l |
Generates a long listing. The system displays all fields. |
The column headings and meaning of the columns in the bbs listing are given in the following table. In the table, the letter l indicates the -l (long) option, which causes the corresponding heading to be displayed. The all option means that the heading is always displayed.
Column name |
Option |
Description |
SLT |
all |
The slot number |
BBNAME |
all |
The name associated with process and slot |
QKY |
all |
The message queue key |
PID |
all |
The process ID |
INS |
all |
The process instance |
D |
all |
"YES" if process is a message-sending DIP type. Otherwise "NO." |
CDATE |
l |
The last process creation time |
WK |
l |
The ET work state |
SKEY |
l |
The semaphore key associated with process and slot |
QID |
l |
The message queue ID |
RE-SPA |
l |
The number of respawns from last restart of the voice system |
WKCNT |
l |
The ET work count for process |
Upon successful completion, bbs returns an exit status of zero. Otherwise, bbs prints an error message on stderr and returns a non-zero exit status if the voice system is not running or, if for some other reason, it can not access the BB.
Example
The following example shows how the bbs command is used to print a long listing, displaying all possible fields.
bbs -l