VALGRIND-LISTENER(1) valgrind-listener VALGRIND-LISTENER(1)

# [NAME](#NAME)

valgrind-listener - listens on a socket for Valgrind commentary

# [SYNOPSIS](#SYNOPSIS)

**valgrind-listener**  
\[*options*]

# [DESCRIPTION](#DESCRIPTION)

**valgrind-listener** accepts (multiple) connections from **valgrind** processes that use the **--log-socket** option on the specified port and copies the commentary it is sent to stdout.

# [OPTIONS](#OPTIONS)

.PP **-e --exit-at-zero**

When the number of connected processes falls back to zero, exit. Without this, it will run forever, that is, until you send it Control-C.

.RE  
.PP **--max-connect=INTEGER**

By default, the listener can connect to up to 50 processes. Occasionally, that number is too small. Use this option to provide a different limit. E.g. --max-connect=100.

.RE  
.PP **portnumber**

Changes the port it listens on from the default (1500). The specified port must be in the range 1024 to 65535. The same restriction applies to port numbers specified by a **--log-socket** to Valgrind itself.

.RE

# [SEE ALSO](#SEE_ALSO)

[valgrind(1)](/man/os/valgrind/valgrind.1), $INSTALL/share/doc/valgrind/html/index.html or http://www.valgrind.org/docs/manual/index.html.

# [AUTHOR](#AUTHOR)

Julian Seward.

09/01/2026 Release 3.27.1

---

Document: valgrind-listener(1) from valgrind 3.27.1-r2 (Chainguard OS)
Source: https://sourceware.org/git/valgrind.git
