LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-21-2003, 07:25 AM   #1
Valluvan
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!

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

Rep: Reputation: 50
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.
 
  


Reply


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 07:13 AM
Redirecting output to a command-line argument of another command madiyaan Linux - Newbie 1 02-19-2005 05:35 PM
ALSA sound: One output at a time :( Erik Plaggenmar Linux - Software 4 10-09-2004 05:12 AM
last -i command output praveenv Linux - Networking 2 08-18-2004 01:43 AM
I am a big time newbie. No video output for X Windows. Help. sabaka Linux - Software 8 09-07-2003 12:33 PM


All times are GMT -5. The time now is 06:24 AM.

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