I want to figure out why my shell script is slow, or maybe more specifically, which part of my shell script is slowing the thing down. I'm thinking of just putting some statements in there that print out the time at certain points (before and after loops, before and after function calls or calls to external programs like sed, perl, etc.). I need the time down to the milliseconds or so, I'm thinking. Does anyone know the best way to do this? Or a better way to profile this shell script in general?
Thanks, Bryan ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
