[erlang-questions] TCP open port count

Roberto Ostinelli roberto@REDACTED
Fri Feb 13 17:03:02 CET 2015


Dear list,
Is there a system command that can easily tell me how many TCP ports are
open on a system?

erlang:system_info(port_count)

This returns all port, I'd like to know only the TCP ones.

Thank you,
r.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150213/16466fc1/attachment.htm>


More information about the erlang-questions mailing list