All Products
Search
Document Center

Serverless App Engine:What is the calculation logic for TCP connection count?

Last Updated:Aug 20, 2025

This topic describes how to calculate the number of TCP connections in SAE.

SAE uses the same logic as the ss command to calculate the number of TCP connections. You can run the ss -s command to verify the calculation. The following figure shows an example.sc_webshell_ss_s

  • Total TCP connections in SAE = the total value for TCP in the command output

  • Active TCP connections = The estab value in the command output

  • Inactive TCP connections = Total TCP connections - Active TCP connections

To use the one-click installation command to quickly install the ss command, see One-click installation command.