Hi, That's seems to do the trick. Will try more advanced call tomorrow, like passing argument to it.
Thanks and regards, Julien On 10 January 2012 18:01, Robert Newson <[email protected]> wrote: > Hi, > > Try > > couch_task_status:all(). > or > gen_server:call(couch_task_status, all). > > B. > > On 10 January 2012 17:56, Julien Gagnet <[email protected]> wrote: >> Hi, >> >> We've been playing recently with the remote shell capability of >> erlang. It can become quite useful to kill an anoying process. Could >> it be possible to call some of the exposed method within a remote >> shell. >> >> We've tried a simple without much success: >> gen_server:call(couch_task_status, {all}). >> >> And we are getting: >> ** exception exit: {{function_clause,[{couch_task_status,handle_call, >> >> [{all},{<0.206.0>,#Ref<0.0.0.858>},nil]}, >> {gen_server,handle_msg,5}, >> {proc_lib,init_p_do_apply,3}]}, >> {gen_server,call,[couch_task_status,{all}]}} >> in function gen_server:call/2 >> >> >> Are we doing something wrong? >> >> We are definitly within the couch vm, looking at the i(). give us all >> the couch process. >> >> Thanks for your help, >> >> Regards, >> >> Julien
