Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: tcsh set time equivalent



On Oct 7,  1:01pm, Renato Botelho wrote:
}
} I set REPORTTIME=2, and ran a `find /usr -type l -name '*xxxx*'`, it took
} about 20 seconds do execute and at the end, it didn't show anything.

torch% REPORTTIME=2
torch% (repeat 1000000; do print -n; done)
( repeat 1000000; do; print -n; done; )  2.60s user 1.15s system 100% cpu 3.751
total
torch% TIMEFMT="\                                     
Time spent in user mode  (CPU seconds)  : %Us
Time spent in kernel mode (CPU seconds) : %Ss
Total time                              : %Es
CPU utilisation (percentage)            : %P
Times the process was swapped           : %W
Times of major page faults              : %F
Times of minor page faults              : %R"
torch% (repeat 1000000; do print -n; done)
Time spent in user mode  (CPU seconds)  : 2.54ss
Time spent in kernel mode (CPU seconds) : 1.21ss
Total time                              : 3.75ss
CPU utilisation (percentage)            : 99%
Times the process was swapped           : 0
Times of major page faults              : 0
Times of minor page faults              : 110
torch% 

-- 
Barton E. Schaefer



Messages sorted by: Reverse Date, Date, Thread, Author