source: proiecte/HadoopJUnit/hadoop-0.20.1/src/benchmarks/gridmix/submissionScripts/sleep_if_too_busy

Last change on this file was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 207 bytes
Line 
1#!/usr/bin/env bash
2
3sleep 1
4for ((java_process=$((`ps -ef|grep java|wc -l`-1)); \
5      java_process > 70; \
6      java_process=$((`ps -ef|grep java|wc -l`-1))))
7do
8    sleep 10
9    echo $java_process
10done
Note: See TracBrowser for help on using the repository browser.