MYSYSAD.COM

Determine the Time to Execute a Process

· Shell & text · System & processes

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