Erlang::networking::info

From Sigmon

Jump to: navigation, search

Erlang

(sig@sig-dom0.local)37> net_kernel:i().
Node                 State   Type         In      Out Address
sig@watermelon.local up      normal      131      133 192.168.6.2:54580
Total                                    131      133 
ok
(sig@sig-dom0.local)38> inet:i().
Port Module   Recv Sent Owner    Local Address      Foreign Address   State     
53   inet_tcp 0    0    <0.21.0> *:34728            *:*               ACCEPTING 
56   inet_tcp 4    18   <0.19.0> localhost:56051    localhost:4369    CONNECTED 
390  inet_tcp 1860 2207 <0.41.0> 192.168.6.10:34728 192.168.6.2:54580 CONNECTED 
Port Module Recv Sent Owner Local Address Foreign Address State 
ok
Personal tools