
and thus will ask Mesos for ALL the CPUs on the node, not just the number of CPUs per node
the user requested to run on.
Retrieve a summary of running Marathon applications
Use the
--brief
option of the
mrun
command to obtain a more concise report on just the
running Marathon applications and node availability.
$
mrun --brief
N:20 CPU:320/480 <user> /mrun/cge/
user
.
dbport
-2016-133-03-50-28.235572 cge-server -d /mn...
Status: Idle:14 Busy:30 Unavail:2
Retrieve information on a specific Marathon application
Use the
--detail
option of the
mrun
command to obtain additional information on a specific
Marathon application. The application ID needs to be specified with this option.
$
mrun --detail /mrun/cge/user.dbport-2016-133-03-50-28.235572
Active Frameworks:
IBM Spark Shell : Nodes[10] CPUs[ 240] : User[builder]
Jupyter Notebook : Nodes[ 0] CPUs[ 0] : User[urika-user]
marathon : Nodes[20] CPUs[ 480] : User[root]
Active Marathon Jobs:
/mrun/cge/
user
.
dbport
-2016-133-03-50-28.235572
: Nodes[20] CPUs[320/480] : user:<user> cmd:cge-
server
: [nid00032.urika.com]: startedAt:
2016-05-12T17:05:53.573Z
: [nid00028.urika.com]: startedAt:
2016-05-12T17:05:53.360Z
: [nid00010.urika.com]: startedAt:
2016-05-12T17:05:53.359Z
: [nid00007.urika.com]: startedAt:
2016-05-12T17:05:53.397Z
: [nid00001.urika.com]: startedAt:
2016-05-12T17:05:53.384Z
: [nid00019.urika.com]: startedAt:
2016-05-12T17:05:53.383Z
...
...
The additional information provided by the
--detail
option includes a list of all the node names
the application is running on, and at what time the application was launched on those nodes.
Stop, cancel or abort a running Marathon application
Use the
--cancel
option of the
mrun
command to stop, cancel or abort a running Marathon
application. The application ID needs to be specified with this option.
$
mrun --cancel /mrun/cge/user.3750-2016-133-20-01-07.394582
Thu May 12 2016 15:01:21.284876 CDT[][mrun]:INFO:App /mrun/cge/user.
3750-2016-133-20-01-07.394582 has been cancelled
If the application has already been cancelled, or completes, or does not exist, the following
message is displayed:
Resource Management
S3016
130