Reputation: 667
I may have a locale problem or something similar, because whenever I run /usr/bin/time it gives me the output as a single line, difficult to interpret :
0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 1756maxresident)k
The above comes from echo with no parameters, but it's the case with all commands.
Upvotes: 4
Views: 2103
Reputation: 332
try to use the 'POSIX' style:
$ /usr/bin/time -p ls
or integrated time
in bash
/zsh
/fish
...
$ time ls
or use your style, by creating a var called TIME
or in some system called TIMEFORMAT
$ export TIME="%E"
$ /usr/bin/time ls
Upvotes: 1