LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-06-2014, 12:41 PM   #1
papori
LQ Newbie
 
Registered: Feb 2011
Posts: 23

Rep: Reputation: 0
running time of a software


Hi all,
Can someone explain what is the difference between measure running time of a software by:
kernel , user , real

I want to compare 5 softwares in their running time.

My problem is that i am sharing server with many users, and many softwares are executed in the same server.So the time is always changing even when i am using the same software.
Is there any solution for this, or do i have to wait when no-other procs on the server?

Thanks,
Pap
 
Old 04-06-2014, 10:08 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,850
Blog Entries: 36

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
See...

Code:
man 1 time
man 7 time
Those two man pages should be a sufficient description for you. Real time is elapsed time and the actual computation time is the sum of both system and user time. You should also note that the time command is a shell builtin for bash so if you want to use a better time command use /usr/bin/time specified with the full path.

SAM

Last edited by sag47; 04-06-2014 at 10:22 PM.
 
  


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
[SOLVED] total process time and time in present state(sleep/running/ uninterruptible). satyadev75 Linux - Server 1 05-16-2013 07:03 AM

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

All times are GMT -5. The time now is 04:31 PM.

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