Table of Contents

Measure time taken to execute command

Synopsis

  time <command> [<arguments>]

Examples

Measure the time taken to download a 10MB file

  time imgfetch http://192.168.0.1/10mb

Description

Measure the time taken to execute the specified command. Any arguments will be passed directly to the specified command.

Command status

Success The command being measured succeeded
Failure The command being measured failed

See also

Build options

This command is available only when the build option TIME_CMD is enabled.

Notes

This command is intended primarily for performance testing during iPXE development.