# wheres command

The 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.

**Synonyms:** whos, whoall, whereall

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](https://d3codex.com/tcl/listabs-command/)
- [listptr command](https://d3codex.com/tcl/listptr-command/)
- [Port number](https://d3codex.com/definitions/port-number/)
- [set-port command](https://d3codex.com/tcl/set-port-command/)
- [sp-status command](https://d3codex.com/tcl/sp-status-command/)
- [term command](https://d3codex.com/tcl/term-command/)
- [where command](https://d3codex.com/tcl/where-command/)
- [wherebt macro](https://d3codex.com/tcl/wherebt-macro/)
- [whered macro](https://d3codex.com/tcl/whered-macro/)
- [whereindx macro](https://d3codex.com/tcl/whereindx-macro/)
- [wherelk macro](https://d3codex.com/tcl/wherelk-macro/)
- [whereovf macro](https://d3codex.com/tcl/whereovf-macro/)
- [wherepu macro](https://d3codex.com/tcl/wherepu-macro/)
- [wheresp macro](https://d3codex.com/tcl/wheresp-macro/)
- [wheret macro](https://d3codex.com/tcl/wheret-macro/)
- [who command](https://d3codex.com/tcl/who-command/)
- [whobt macro](https://d3codex.com/tcl/whobt-macro/)
- [whod macro](https://d3codex.com/tcl/whod-macro/)
- [whoindx macro](https://d3codex.com/tcl/whoindx-macro/)
- [wholk macro](https://d3codex.com/tcl/wholk-macro/)
- [whopu macro](https://d3codex.com/tcl/whopu-macro/)
- [whosp macro](https://d3codex.com/tcl/whosp-macro/)
- [whot macro](https://d3codex.com/tcl/whot-macro/)
- [whovf macro](https://d3codex.com/tcl/whovf-macro/)
- [xonoff command](https://d3codex.com/tcl/xonoff-command/)

---
Source: https://d3codex.com/tcl/wheres-command/ - part of the D3Codex reference.
