Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120497265
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
Fri, Jul 4, 19:44
Size
378 B
Mime Type
text/x-shellscript
Expires
Sun, Jul 6, 19:44 (2 d)
Engine
blob
Format
Raw Data
Handle
27174690
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