৩০ সেকেন্ড পর পর যে সমস্ত শেল রান করছে তাদের ডাটা একটা লগ ফাইল এ সেভ করতে হবে

#!/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