[erlang-patches] Extend erlang:port_info/1, 2 to show the OS pid of a spawned process

Paul Guyot <>
Sat Jan 7 11:48:25 CET 2012


The above-mentioned patch was submitted by Matthias Lang in August 2010.
It has been cooking in pu and was dropped in January 2011. I could not find in archives any discussion about why it was dropped.


This patch proves very useful to us and we have been using it for more than a year on production servers running FreeBSD as well as development machines running MacOS X (Matthias mentions he tested it on Linux).

Could you please re-consider it?

To ease the inclusion of the patch, I did update it to base it on master, added documentation, updated types, and fixed dialyzer's test accordingly. (I am not sure if master is the proper base for this case).

You can fetch the updated version from github:

git fetch git://github.com/pguyot/otp.git add-os-pid-to-port-info


Semiocast            http://semiocast.com/
+33.183627948 - 20 rue Lacaze, 75014 Paris

More information about the erlang-patches mailing list