yayu Asked: 2011-05-19 15:00:45 +0800 CST2011-05-19 15:00:45 +0800 CST 2011-05-19 15:00:45 +0800 CST How to find run time of a program from commmand line? 772 I just ran a program and wish to know how much time it took to execute it. How do I do it? command-line 1 Answers Voted Best Answer koanhead 2011-05-19T15:20:29+08:002011-05-19T15:20:29+08:00 Use time [programname]. Example: host:~$ time dmesg [massive gob of dmesg output] real 0m2.630s user 0m0.000s sys 0m0.030s
Use
time [programname]
.Example: