source:
proiecte/HadoopJUnit/hadoop-0.20.1/src/benchmarks/gridmix/submissionScripts/sleep_if_too_busy
@
120
Last change on this file since 120 was 120, checked in by , 14 years ago | |
---|---|
|
|
File size: 207 bytes |
Line | |
---|---|
1 | #!/usr/bin/env bash |
2 | |
3 | sleep 1 |
4 | for ((java_process=$((`ps -ef|grep java|wc -l`-1)); \ |
5 | java_process > 70; \ |
6 | java_process=$((`ps -ef|grep java|wc -l`-1)))) |
7 | do |
8 | sleep 10 |
9 | echo $java_process |
10 | done |
Note: See TracBrowser
for help on using the repository browser.