Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-21-2003, 06:25 AM   #1
LQ Newbie
Registered: Nov 2002
Posts: 9

Rep: Reputation: 0
Question output of time command!

Can anybody explain the output of time command?

For example if I run
$time ls
<directory listing>
real: <time>
user: <time>
system: <time>

I understand that system time is the time spent in kernel mode for this program, user time is the time spent in user mode for this program, but what about real? (Have I understood correctly?)

Thanks in advance!

Old 08-21-2003, 06:45 AM   #2
Senior Member
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
the times returned are for child processes as well as the process you specify, real is the actual amount of time it ran for, you are correct about system and user.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
manipulating the output of time command garodin Programming 2 03-29-2005 06:13 AM
Redirecting output to a command-line argument of another command madiyaan Linux - Newbie 1 02-19-2005 04:35 PM
ALSA sound: One output at a time :( Erik Plaggenmar Linux - Software 4 10-09-2004 04:12 AM
last -i command output praveenv Linux - Networking 2 08-18-2004 12:43 AM
I am a big time newbie. No video output for X Windows. Help. sabaka Linux - Software 8 09-07-2003 11:33 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration