Contents[Hide]

1. Name

time [man page] - run programs and summarize system resource usage

2. Synopsis

time   [ -apqvV ] [ -f FORMAT ] [ -o FILE ]
       [ --append ] [ --verbose ] [ --quiet ]
       [ --portability ] [ --format=FORMAT ]
       [ --output=FILE ] [ --version ]
       [ --help ] COMMAND [ ARGS ] 

3. Examples

Measure time for running program time itself:

$ time 

Measure time for running program
Measure execution time of "find" command and redirect stderr to /dev/null:

$ time find / -name resolv.conf 2>/dev/null 

Measure execution time of find



Go to top