#!/bin/bash
# Periodically count the number of executing 'j9' processes

while [ 1 ]
do
  echo `ps -eaf | grep ' j9 ' | wc -l` '('`date`')'
  sleep 30
done
