WHO

Reports users logged-on to the database, displaying the port number, Reality user-id, database name, and account name for the current port, specified ports, or all ports.

Syntax

WHO {port-number{last-port-number} | *} {(options}

Command Class

TCL-I command.

Syntax Elements

port-number is the number of the first or only port to be checked.

port-number-last is the number of the last port to be checked.

* displays all ports that are logged on.

Options

N Inhibits automatic paging of output to the terminal.

P Prints the report on the printer assigned to your process.

Report Format

The command lists, for each logged on port, the port number, the user-id, and, in parentheses, the database and account names. When more than one port is listed, the command displays an asterisk against the port number at which the command was entered.

Examples

:WHO
21 daveh (dbase1,SYSMAN)

Displays the port number, user-id, database, and account name for your local port.

:WHO *

Displays all ports logged on to the database.

:WHO 5
5 timb (dbase1,SYSPROG)

Displays for requested port 5 the port number, user-id, system name, and account on to which it is logged.

Go to top button