VALGRIND-LISTENER(1)

πŸ’… valgrind-listener, bestie

okay so real quick β€” this is a page from the valgrind-listener(1) manual, and it's genuinely one of the simplest little tools in the whole valgrind family. let's get into it 🫢

✨ NAME ✨

valgrind-listener β€” it just sits there and listens on a socket for Valgrind commentary. that's the whole job. icon behaviour, honestly.

✨ SYNOPSIS ✨

valgrind-listener [options]

✨ DESCRIPTION ✨

so here's the vibe: valgrind-listener accepts (multiple) connections from valgrind processes β€” yes, plural, it's a whole group chat β€” but only the ones that are using the --log-socket option on the specified port.

and then? it copies the commentary it is sent straight to stdout. that's it. it's a relay. it's the friend who repeats everything you say but like, on purpose and to a socket. πŸ’–

✨ OPTIONS ✨

  • -e, --exit-at-zero β€” when the number of connected processes falls back to zero, it exits. without this flag it will run forever β€” like, until you send it Ctrl+C. forever-forever. no cap. πŸ’€
  • --max-connect=INTEGER β€” by default, the listener can connect to up to 50 processes. occasionally that number is too small (happens to the best of us 😭). use this option to provide a different limit. e.g. --max-connect=100.
  • portnumber β€” changes the port it listens on from the default (1500). the specified port must be in the range 1024 to 65535. and heads up β€” the same restriction applies to port numbers specified by a --log-socket to Valgrind itself. so keep it in the range, bestie. πŸŽ€
ngl the port range thing is not a suggestion, it's a rule β€” outside 1024 to 65535 and it's just not happening. 🚫

✨ SEE ALSO ✨

valgrind(1), $INSTALL/share/doc/valgrind/html/index.html or http://www.valgrind.org/docs/manual/index.html. go read those too, they're giving main character energy πŸ“šβœ¨

✨ AUTHOR ✨

Julian Seward. πŸ‘‘ (ty for your service fr fr)


🌸 aaaand that's the page! this one's from Release 3.27.1, dated 06/23/2026 β€” go forth and listen to some commentary πŸ’œπŸ¦‹

πŸ“¦ where this page comes from