runlet v1.0.0 Runlet.Process
Process job control
Link to this section Summary
Functions
Add a command to a user's process table.
Tests if a PID is running.
Retrieve a formatted process table for a user.
Restart saved processes.
Delete a command from a user's process table.
Toggle formatting of events.
Terminate a process for a user.
Sets the number of events allowed in a period of time (minutes). Events exceeding this limit are dropped.
Find a running command by PID.
Force a process to exit.
Run saved processes for a user.
Return the list of running commands.
Starts a stopped process.
Restarts running processes.
Suppresses output for a process for the given number of minutes.
List available process tables.
List process entries for a user.
Link to this section Types
Link to this section Functions
add(user, pid, cmd)
add(binary(), Runlet.PID.t(), binary()) :: :ok | {:error, any()}
Add a command to a user's process table.
Tests if a PID is running.
Retrieve a formatted process table for a user.
Restart saved processes.
Delete a command from a user's process table.
Toggle formatting of events.
Terminate a process for a user.
limit(name, id, count \\ 1, minutes \\ 1)
limit(binary(), Runlet.PID.t(), pos_integer(), pos_integer()) :: binary()
Sets the number of events allowed in a period of time (minutes). Events exceeding this limit are dropped.
Find a running command by PID.
match(name, id, fun)
Force a process to exit.
Run saved processes for a user.
Return the list of running commands.
Starts a stopped process.
start_link(stdout)
Restarts running processes.
stop(name, id, minutes \\ 60)
stop(binary(), Runlet.PID.t(), non_neg_integer()) :: binary()
Suppresses output for a process for the given number of minutes.
List available process tables.
List process entries for a user.