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

while [ 1 ]
do
  echo `date` : `ps -eaf | grep ' j9 ' | wc -l`
  sleep 5
done
