display sockets

Purpose

Displays information about how socket resources are being used by the system.

Sockets provice access to IP network connections, open devices, open files and XBee radio access.

A Digi device’s operating system has 128 sockets available. If the system runs out of sockets, various features may not work correctly. Socket use is primarily dynamic. Some features acquire a socket and use it for a long time, while others get a socket, use it, and release it back to the system. The ability to display the sockets statistics is a troubleshooting aid, providing information on how many sockets are in use, allocated for which purpose, and how many are available.

Required permissions

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

Syntax

display sockets

Examples

#> display sockets

Socket Status:

Total Sockets        : 128
Free Sockets         : 104
Used Sockets         : 24
  IP Network Sockets : 21
  Device Sockets     : 3
  File Sockets       : 0
  Mesh Sockets       : 0

Maximum TCP Sockets  : 128
Used TCP Sockets     : 14

See also