[GRASS-user] trace processing time

Martin Bley martin.bley at fernuni-hagen.de
Thu Nov 29 12:24:49 EST 2007


Hi Tim,

> what tools can I use on both Linux and Windows to trace the processing
> time of a GRASS operation?
On Linux you may use a shell-script to do that. Just redirect output
from
the 'date' command to a log file of your choice i.E.

*******
#!/bin/bash
LOGFILE="/tmp/myLog"

printf "%b" "Started processing on `date`\n" >> $LOGFILE
v.overlay ...
printf "%b" "Finished processing on `date`\n" >> $LOGFILE
*******

for windows you may use a batch script.

Alternatively you can use perl as well - this should work on both
systems.

Regards,
Martin

-- 
Martin Bley


More information about the grass-user mailing list