Created
May 19, 2015 14:04
-
-
Save lenadroid/b7130d65d17fe5247640 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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