Skip to content

Instantly share code, notes, and snippets.

@lenadroid
Created May 19, 2015 14:04
// Lists all processes of the runtime with their statuses, execution time, etc.
runtime.ShowProcesses()
// Lists all cluster machines with the info for CPU, memory, network usage, etc.
runtime.ShowWorkers()
// Gets runtime logs as an array of LogRecords
runtime.GetLogs()
// Attaches specified logger to the runtime
runtime.AttachClientLogger(ConsoleLogger())
// Kills the process by name
runtime.GetProcess("someprocess").Kill()
// Deletes runtime records for all the processes
runtime.ClearAllProcesses()
// Deletes and re-activates runtime state
runtime.Reset()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment