time: Tracking execution time

1 · Benjamin Cane · Aug. 27, 2011, 8:33 p.m.
Many times in my life as a sysadmin I've needed to time how long a script or process takes to run. This was usually a manual task until I found the awesomeness of the time command. Example: [bcane@bcane ~]$ w 09:51:24 up 4:41, 2 users, load average: 0.00, 0.01, 0.05 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT bcane tty1 :0 18Aug11 8days 3.40s 0.06s pam: gdm-passwo bcane pts/0 :0.0 18Aug11 0....