Time


From Linuxconfig.org

Jump to: navigation, search

.. back to the list of Linux Commands

Name

time - run programs and summarize system resource usage

Synopsis - man page

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

Examples

Measure time for running program time itself:

$ time
Image:time01.gif

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

$ time find / -name resolv.conf 2>/dev/null
Image:time02.gif

.. back to the list of Linux Commands

Personal tools
Linux Commands