1998-01-16 12:13:05 +00:00
|
|
|
#! /usr/local/bin/ruby
|
|
|
|
cmd = ARGV.join(" ")
|
|
|
|
b = Time.now
|
|
|
|
system(cmd)
|
|
|
|
e = Time.now
|
2000-09-15 06:00:30 +00:00
|
|
|
ut, st, cut, cst = Time.times.to_a
|
1998-01-16 12:13:05 +00:00
|
|
|
total = (e - b).to_f
|
2002-12-19 20:56:37 +00:00
|
|
|
STDERR.printf "%11.1f real %11.1f user %11.1f sys\n", total, cut, cst
|