From d7890b93b8a0a9d0cd96b07f4b4e1326a52bc012 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 8 Nov 2016 13:06:28 +0100 Subject: afm-user-daemon: returns the pids of the processes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Asking for the state now returns the pids of the launched processes when this processes are still alive. Change-Id: I69348d8089581247465c3bd1ab83f86decad25ae Signed-off-by: José Bollo --- docs/afm-user-daemon.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/afm-user-daemon.md b/docs/afm-user-daemon.md index f1ce7f8..ad625e9 100644 --- a/docs/afm-user-daemon.md +++ b/docs/afm-user-daemon.md @@ -672,13 +672,15 @@ The field "mode" is a string equal to either "local" or "remote". **Input**: The *runid* (integer) of the running instance inspected. **output**: An object describing instance state. It contains: -the runid (integer), the id of the running application (string), +the runid (integer), the pids of the processes as an array starting +with the group leader, the id of the running application (string), the state of the application (string either: "starting", "running", "stopped"). Example of returned state: { "runid": 2, + "pids": [ 435, 436 ], "state": "running", "id": "appli@x.y" } -- cgit 1.2.3-korg