LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2005, 12:04 AM   #1
buuchanh
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Question what is the command 'time'?


hi, everybody!
When I type the 'time' command, it will appear :
real 0m0.084s
user 0m0.000s
sys 0m0.000s
I want to know the meaning of 'time, user, and sys' in the above lines.
please, help me!
 
Old 10-13-2005, 12:15 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Does man time and man 2 times not give you the answer?
 
Old 10-13-2005, 12:15 AM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
From man time:
Quote:
The default format string is
%Uuser %Ssystem %Eelapsed %PCPU (%Xtext+%Ddata %Mmax)k
%Iinputs+%Ooutputs (%Fmajor+%Rminor)pagefaults %Wswaps

.....
Time

%E Elapsed real time (in [hours:]minutes:seconds).

%e (Not in tcsh.) Elapsed real time (in seconds).

%S Total number of CPU-seconds that the process spent in kernel
mode.

%U Total number of CPU-seconds that the process spent in user mode.

%P Percentage of the CPU
so real is the time that elapsed while the process was running
user is how much CPU-time it spent in user mode
sys is how much CPU-time it spent in kernel mode
 
Old 10-13-2005, 02:46 PM   #4
sajjadc
Member
 
Registered: May 2005
Location: kerala,india
Distribution: UBUNTU
Posts: 94

Rep: Reputation: 15
plz use -help option
 
  


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
command execution time minil Programming 10 08-20-2010 05:59 PM
time command krock923 Programming 11 07-09-2005 05:46 PM
time command twantrd Linux - General 3 12-08-2004 04:54 PM
find command with time linuxtesting2 Linux - Newbie 1 09-22-2004 01:31 PM
output of time command! Valluvan Linux - Software 1 08-21-2003 07:45 AM


All times are GMT -5. The time now is 03:06 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