TCL
wheres command
.mdThe wheres BASIC program performs a variety of functions depending on the options or parameters provided, and displays a more readable form of the where command, including the user-ID, the account name, and the last command entered.
Synonymswhoswhoallwhereall
Note: In this command, options do not have to be enclosed
in parentheses.
Syntax
wheres {options}
Parameter(s)
| ? | Displays help on the command. | |
| "account.name" | Displays status only for users of the specified account name. The quotation marks around the account name are required. | |
| [user-ID | Displays status of requested
user-ID only. Note: The [ is required, but ] is not allowed. |
|
| {port.number{-port.number}} | Outputs status for the given port, or a range of ports. | |
| options | c | Displays port communications parameters (baud rate, parity, and so on). |
| l | Displays the status for pushed levels, if any. | |
| n | No pause option suppresses the pause at the end of the page on the terminal. | |
| p | Directs output to the system printer via the spooler. | |
| z | Displays where status for all ports, including inactive ports (those which are not currently logged on). | |
This command combines the effect of these TCL commands: who, sort pibs, listabs, term, listptr, where, sp-status, set-port and xonoff. A number of variants of this command are available and all begin with who or where.
Special parameters provided are:
| br | Displays ports which are in running a BASIC program. |
| bt | Displays ports which are accessing B-tree indexes. |
| db | Displays ports which are in the system debugger. |
| in | Displays ports which are accessing indexes. |
| lk | Displays ports which have locks in place. |
| op | Displays ports which are in the Output processor. |
| ov | Displays ports which are accessing the overflow handler. |
| pu | Displays ports which are pushed one or more levels. |
| sp | Displays ports which are accessing the spooler. |
| tp | Displays the port with the tape attached. |
See also
listabs command→listptr command→Port number→set-port command→sp-status command→term command→where command→wherebt macro→whered macro→whereindx macro→wherelk macro→whereovf macro→wherepu macro→wheresp macro→wheret macro→who command→whobt macro→whod macro→whoindx macro→wholk macro→whopu macro→whosp macro→whot macro→whovf macro→xonoff command→
Referenced by
1 topic mentions wheres command in its description.