$dev4life = "Software Development Blog"

Linux Time Command - Measure Execution Time

Linux/Unix "time" Command

Time is a simple but very useful command to measure execution time.  It can be used for quickly benchmarking scripts and other programs. It provides three pieces of information, real is the actual time the program runs from start to end. User and Sys are time it took the cpu to run the code in user and system mode respectively.
Example
time php test.php
linux time command, bash, linux, performance, time command

Post a Comment