m15o.net/wombat2/bin/bat

NAME

bat - process manager

DESCRIPTION

Bat is the server that runs processes. It is mounted at /srv/proc/, and each process is a directory under it, named after the process. When bat starts for the first time, it resumes all processes that were saved.

pathverbaction
/srv/proc/GETList all processes
/srv/proc/newPUTCreate a new anonymous process
/srv/proc/{name}/GETList process resources
/srv/proc/{name}/execPUTCreate a new named process
/srv/proc/{name}/DELDelete a process

Each process has the following resources:

pathverbaction
execGETRead the record
execPUTStart the named process, or restart it with the given record
nsGETRead the namespace
statusGETRead the status: starting, started, closing or err
errGETRead reason for failure when statis is err
fs/GETList program's own values
ctlPUTSend a command
commandaction
closeClose the process