LinuxQuestions.org
Help answer threads with 0 replies.
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-12-2005, 11:04 PM   #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-12-2005, 11:15 PM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Does man time and man 2 times not give you the answer?
 
Old 10-12-2005, 11:15 PM   #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, 01: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 04:59 PM
time command krock923 Programming 11 07-09-2005 04:46 PM
time command twantrd Linux - General 3 12-08-2004 03:54 PM
find command with time linuxtesting2 Linux - Newbie 1 09-22-2004 12:31 PM
output of time command! Valluvan Linux - Software 1 08-21-2003 06:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 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
Open Source Consulting | Domain Registration