Hi

I need to write a bash script to run a process for a specified duration. For this I need to use the output of time (i.e., i will do /usr/bin/time -f "%e" processname and then i need this time to be added to another variable that checks if the duration is over or not). So i need to use the output of time in an arithmetic _expression_. Could anyone please help me out with this script as I'm totally new to bash scripting?

Thanks

Sowmya  
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to