> Source: [sk104245](https://support.checkpoint.com/results/sk/sk104245)

# sk104245 - The output of the 'ss -a' command does not show all ports and their current state

| Property | Value |
|----------|-------|
| Solution ID | sk104245 |
| Date Created | 2015-01-14 |
| Last Modified | 2015-05-20 |
| Technical Level | Advanced |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20, R82.10, R81.20, R82 |
| OS | Gaia |

## Symptoms

- * Output of '`ss -t -a`' command (stands for "socket statistics") does not provide output for all TCP sockets (as compared with the output of '`netstat -an`' command.

* Output of '`ss -f inet -t`' command prints "`ss: no socket tables to show with such filter`".

## Cause

The '`ss -t -a`' command replaces the '`netstat -na`' command and is supposed to display all TCP ports in use and their current state by reading the contents of `/proc/net/tcp` file. However, the '`ss -t -a`' command reads only the first 4050 characters ('`wc -c /proc/net/tcp`').

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
