#!/bin/sh
#find all currently running shells and create in full listing form for them . Log the data into a file in every 30 secs
# -e means currentl running
# -f means full format output
# sleep takes parameters in seconds
ps -ef | grep shell >> process.log
sleep 30
ps -ef | grep shell >> process.log
sleep 30
ps -ef | grep shell >> process.log
sleep 30