> > How do you get the time thing working? > > > Pasted this into my .cshrc, but it did not have any affect... :/ > set time=(8 "\ 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") > > Run something that takes a bit of time and after it is done, it will report that details. In the case above, it has to run for over 8 seconds. For example: [tethys]:/root# cvsrun Subject: tethys.ringofsaturn.com weekly cvsup run output Parsing supfile "/usr/local/etc/cvsup/current-supfile" Connecting to cvsup17.freebsd.org Connected to cvsup17.freebsd.org Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection src-all/cvs Edit src/gnu/lib/libregex/Makefile Add delta 1.28.2.1 2004.10.06.23.36.20 peter Edit src/gnu/usr.bin/cvs/cvsbug/Makefile Add delta 1.19.4.1 2004.10.06.23.40.48 peter Edit src/gnu/usr.bin/cvs/lib/Makefile Add delta 1.25.2.1 2004.10.06.23.40.48 peter Edit src/sys/kern/kern_sig.c Add delta 1.289.2.2 2004.10.06.23.44.16 davidxu Edit src/tools/lib32/build32.sh Add delta 1.1.2.1 2004.10.06.23.37.35 peter Updating collection ports-all/cvs Shutting down connection to server Finished successfully Time spent in user mode (CPU seconds) : 13.649s Time spent in kernel mode (CPU seconds) : 8.480s Total time : 1:23.92s CPU utilisation (percentage) : 26.3% Times the process was swapped : 0 Times of major page faults : 30 Times of minor page faults : 816 [tethys]:/root# Rusty NejdlReceived on Wed Oct 06 2004 - 23:01:34 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC