time
From NetBSD Wiki
time -- time command execution
The time(1) utility executes and times utility. After the utility finishes, time writes the total time elapsed, the time consumed by system overhead, and the time used to execute utility to the standard error stream. Times are reported in seconds.
% time sleep 1
1.00 real 0.00 user 0.00 sys
% time who
root console Jun 23 15:30
john ttyp0 Jun 23 15:31 (192.168.0.200)
0.01 real 0.00 user 0.00 sys
Some shells, such as csh(1) and ksh(1), have their own and syntactically different builtin version of time. The utility described here is available as /usr/bin/time to users of these shells
