Skip to content

Instantly share code, notes, and snippets.

@lenadroid
Created May 19, 2015 14:04
Show Gist options
  • Save lenadroid/b7130d65d17fe5247640 to your computer and use it in GitHub Desktop.
Save lenadroid/b7130d65d17fe5247640 to your computer and use it in GitHub Desktop.
// 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