WHO Command

The WHO command displays the current process number and account name. The WHO command can also display information for other processes on the system. This command is useful for identifying a user process before sending a message or for finding out which users are currently logged on.

Format

WHO [n [-m]] [P] [F]

Parameter(s)

n

Number of a process.

n-m

Specifies a range of processes, beginning with n and ending with m.

P

Sends the information to the printer.

F

Specifies all processes on the system. Since most of these processes will not be active, it is better to specify a range of processes.

Description

If the process specified is not currently active, WHO identifies that process as UNKNOWN. If the number specified does not correspond to any defined process, a message such as the following is displayed:

>WHO 77

[1145] ILLEGAL SPECIFICATION NUMBER 77.

 

>

When you use the LOGTO command to move to another account, WHO displays your process number with the new account name.

Identifying a User Process

The following example displays information about process number 7:

>WHO 7

7 ORDERS

The ORDERS account is logged on to process 7.

Identifying a Range of User Processes

The following example displays information about the processes whose numbers are in the range 7-10:

>WHO 7-10

7 ORDERS

8 ACCOUNTING

9 PERSONNEL

10 SALES

 

>