Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr1192 :: LiTS 024: time and /usr/bin/time

Run programs and summarize system resource usage with the time command

<< First, < Previous, , Latest >>

Hosted by Dann on Tuesday, 2013-02-26 is flagged as Explicit and is released under a CC-BY-SA license.
time. (Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr1192

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:16:27

Linux in the Shell.

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 https://www.linuxintheshell.com/

The time program is a handy tool to not only gauge 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 https://www.linuxintheshell.com/2013/02/26/episode-024-time-and-usrbintime/


Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?