Created
February 18, 2015 09:42
-
-
Save systra/56efef27ef3c579353f0 to your computer and use it in GitHub Desktop.
erl_call example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EI_TRACELEVEL=6 /opt/erlang/17.4/lib/erl_interface-3.7.20/bin/erl_call -v -d -n [email protected] -c cookie -a 'erlang length [[a,b,c]]' | |
erl_call: node = [email protected] | |
Cookie = cookie | |
flags = verbosep debugp | |
module: name = , size = 0 | |
apply = erlang length [[a,b,c]] | |
ei_xconnect: Wed Feb 18 10:42:38 2015: -> CONNECT attempt to connect to node | |
ei_epmd_r4_port: Wed Feb 18 10:42:38 2015: -> PORT2_REQ alive=node ip=127.0.0.1 | |
ei_epmd_r4_port: Wed Feb 18 10:42:38 2015: <- PORT2_RESP result=0 (ok) | |
ei_epmd_r4_port: Wed Feb 18 10:42:38 2015: port=62153 ntype=77 proto=0 dist-high=5 dist-low=5 | |
ei_xconnect: Wed Feb 18 10:42:38 2015: -> CONNECT connected to remote | |
recv_status: Wed Feb 18 10:42:38 2015: <- RECV_STATUS (ok) | |
recv_challenge: Wed Feb 18 10:42:38 2015: <- RECV_CHALLENGE (ok) node = [email protected], version = 5, flags = 229372, challenge = -2090806629 | |
send_challenge_reply: Wed Feb 18 10:42:38 2015: -> SEND_CHALLENGE_REPLY (ok) challenge = 2139985127, digest = 97a8dd5658a368d39ef47947270665dc | |
recv_challenge_ack: Wed Feb 18 10:42:38 2015: <- RECV_CHALLENGE_ACK (ok) digest = 8f0d7ca10566b717841ac1588d8b60e5 | |
ei_xconnect: Wed Feb 18 10:42:38 2015: -> CONNECT (ok) remote = node | |
erl_call: we are now connected to node "[email protected]" | |
erl_call: module = erlang, function = length, args = [[a,b,c]] | |
-> REG_SEND From: #Pid<[email protected]> To: rex | |
{#Pid<[email protected]>, {call, erlang, length, [[a, b, c]], user}} | |
<- SEND To: #Pid<[email protected]> | |
{rex, 3} | |
3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment