who

Purpose

Displays active connections to and from the device. For Digi devices that have Python programs loaded and running, the who command can be used to view which Python threads are running. Python threads are listed for informational purposes. They cannot be killed with either the kill command or via the Management > Connections page in the web interface.

Required permissions

For Digi products with two or more users, permissions must be set to set permissions who=execute” to use this command. See set permissions for details on setting user permissions for commands.

Syntax

who

Options

None at this time.

Examples

Display a list of all current connections

#> who

Display Python threads

The Python program EmbeddedKitService.py is running on a ConnectPort X device. Entering who displays this output:

#> who

ID  From                   To                     Protocol              Sessions
--  ---------------------  ---------------------  --------------------  --------
1   10.8.16.27             local shell            telnet
2                                                 Python: EmbeddedKitService.py

3                                                 Python thread
4                                                 Python thread
5                                                 Python thread
6                                                 Python thread
7                                                 Python thread
8                                                 Python thread
9                                                 Python thread
10  10.8.16.27             local shell            telnet 

Next, the EmbeddedKitService.py program is stopped on the ConnectPort X device. Entering who displays this output:

#> who

ID  From                   To                     Protocol              Sessions
--  ---------------------  ---------------------  --------------------  --------
1   10.8.16.27             local shell            telnet
#> who


ID  From                   To                     Protocol              Sessions
--  ---------------------  ---------------------  --------------------  --------
1   10.8.16.27             local shell            telnet

See also