how to time length of process invoked from the command line ?

John Summerfied debian at herakles.homelinux.org
Tue May 17 06:30:24 UTC 2005


Craig Thomas wrote:
> Hi all,
> 
> Does anyone know of a simple way to determine how long any given command
> takes to run when issued from the command line?  I've googled and turned
> up lots of timing a process type results...but I've had no luck
> recognizing a solution [poor google searches -- not sure what I'm
> searching for really].  I'm creating some cron jobs for backups and just
> want to schedule them far enough apart I'm not writing old data.
> 
> there's surely something like this that will do what I need:
> 
> #tar -czf ~/.evolution email.tar.gz | someapptotimemyprocess
> 
> Any help greatly appreciated.
> 
> TIA,
> 
time tar -czf ~/.evolution email.tar.gz

-- 

Cheers
John

-- spambait
1aaaaaaa at computerdatasafe.com.au  Z1aaaaaaa at computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/




More information about the users mailing list