Sign in to follow this  
Followers 0
BINREV SPYD3R

HPR - HPR1192: LiTS 024: time and /usr/bin/time

1 post in this topic

Linux In The Shell aims to explore the use of many commands a user can run in the Bash Shell. Tutorials include a write up with examples, an audio component about the write up, and a video component to demonstrate the usage of the command.

The website is http://www.linuxintheshell.org/

The time program is a handy tool to not only guage how much time in seconds it takes a program to run, but will also display how much user CPU time and system CPU time was used to execute the process. To understand these values you must grasp how the kernel handles the time reporting for the process. For example, the output of:

time ls

is

real 0m0.007s

user 0m0.000s

sys 0m0.003s

For the complete show including video and a complete write up go to http://www.linuxintheshell.org/2013/02/26/episode-024-time-and-usrbintime/

Go to this episode

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0