get_running_sessions()
Get information about all sessions that are currently running.
get_running_sessions(...)
Description
This function retrieves information about all sessions that you started that are currently running
Required Parameters
cluster_name (String)
Name of cluster to filter sessions by. Will only retrieve sessions that were started on this cluster.
Returns (Dict)
Dictionary of session ID mapping to session configuration and information.
Dict(
""2021-06-10-2240237175e6921d0c69f8a93aaa49ffd30287" => Dict(
"session_name" => "mnist_classify",
"instance_type" => "c5.2xlarge",
"num_workers" => 8,
"cluster_instance_id" => "mlexperimentation_2021-06-08-02:25:37_942673c86e9c3e18",
"cluster_name" => "mlexperimentation",
"created" => "2021-07-27-14:36:07",
"ended" => "",
"status" => "running"
)
)
Example Usage
get_running_sessions("mlexperimentation")