Thursday, March 08, 2007

Determine the Time to Execute a Process

Sometimes you may want to determine how long it takes to execute a UNIX utility or script via the command line, especially during testing. Here's a simple way of doing that. Use the time command.

#time -p rcp -p serverbox:/home/esofthub/100MB.dat /directory_on_local

#timex ls

No comments: