Proc_list
Proc_List
This requests a list of currently active processes.
The request looks like this:
//Either...
{
"proc_list": "" //value is empty string or non-string value
}
//Or...
{
"proc_list": "streamname"
}
And is responded to as follows:
{
"proc_list":{
"pid_of_process": {
"source": "source stream name",
"sink": "sink stream name",
"process": "process name",
"logs": [],
"terminated": true //Only set if the process has terminated since starting
},
//Etcetera
}
}
If the terminated flag is set, this process will not be shown in further calls and is cleared from memory. Until this call is performed, such entries are cached in memory so that short-lived processes can not be missed in between calls.