Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122377151
list-running-jobs.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jul 17, 12:01
Size
378 B
Mime Type
text/x-shellscript
Expires
Sat, Jul 19, 12:01 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27474408
Attached To
R3704 elastic-yarn
list-running-jobs.sh
View Options
#!/bin/bash
[[ -z $SCRIPT_CONFIG_PATH ]] && echo "SCRIPT_CONFIG_PATH not set!" && exit 1
. $SCRIPT_CONFIG_PATH/config_nodes.sh
if [ $# == 2 ] && [ $2 == "-c" ]; then
clush -w $CLUSH_NODES 'ps ax | grep \"org.apache.hadoop.yarn.sls.SLSRunner\" | grep -v grep | wc -l'
else
clush -w $CLUSH_NODES 'ps ax | grep \"org.apache.hadoop.yarn.sls.SLSRunner\" | grep -v grep'
fi
Event Timeline
Log In to Comment