(String pidString)
| 385 | } |
| 386 | |
| 387 | public synchronized OtpErlangObject getProcessState(String pidString) throws IOException, OtpErlangException { |
| 388 | sendRPC("erlyberly", "get_process_state", list(pidString)); |
| 389 | |
| 390 | OtpErlangObject result = receiveRPC(); |
| 391 | |
| 392 | if(isTupleTagged(OK_ATOM, result)) { |
| 393 | return ((OtpErlangTuple)result).elementAt(1); |
| 394 | } |
| 395 | return null; |
| 396 | } |
| 397 | |
| 398 | public synchronized HashMap<Object, Object> erlangMemory() throws IOException, OtpErlangException { |
| 399 | sendRPC("erlang", "memory", list()); |
no test coverage detected