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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxxxxxxxxx
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux