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

Paul Guyot pguyot@REDACTED
Sat Jan 7 11:48:25 CET 2012


Hello,

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.

http://erlang.org/pipermail/erlang-patches/2010-August/001311.html
http://erlang.org/pipermail/erlang-patches/2010-August/001313.html
http://erlang.org/pipermail/erlang-patches/2011-January/001828.html

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
https://github.com/pguyot/otp/commit/1acd27e159506b662f3b4222ba4c5820b463588a

Regards,

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




More information about the erlang-patches mailing list