Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-12-2008, 11:55 AM   #1
LQ Newbie
Registered: Jun 2008
Posts: 7

Rep: Reputation: 0
top command - Time shown

Hello all,

I am a new linux user and a bit confused with the time parameter on using the top command. I my job (abaqus) has been running for less than 2 days according to the clock time. But using the top command the time shown (time + column) is about 4340.19.I am assuming that the time is in minutes. If so , then the time my job has been running according to the top command is approximately 3 days whihc is a day more than the clock time. Am I missing something here?? I appreciate your help in clearing my confusion.

Old 06-12-2008, 01:15 PM   #2
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 548

Rep: Reputation: 40
I think that the time in the top command is CPU time.
more here ->

what i would do is 1st run the 'uptime' command to see how long the system has been running
Old 06-12-2008, 03:18 PM   #3
LQ Newbie
Registered: Jun 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for your reply..My understanding was that the cpu time is shown when top command is used. But for some reason the CPU time is larger than the wall clock time in this case. Is it possible??
Old 06-12-2008, 03:59 PM   #4
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,064

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
Quote (slightly reformatted):

"2. FIELDS / Columns
2a. DESCRIPTIONS of Fields
Listed below are top’s available fields. They are always associatedwith the letter shown, regardless of the position you may have established for them with the ’o’ (Order fields) interactive command.

Any field is selectable as the sort field, and you control whether they are sorted high-to-low or low-to-high. For additional information on sort provisions see topic 3c. TASK Area Commands....

k: %CPU -- CPU usage
The task’s share of the elapsed CPU time since the last screen update, expressed as a percentage of total CPU time. In a true SMP environment, if ’Irix mode’ is Off, top will operate in ’Solaris mode’ where a task’s cpu usage will be divided by the total number of CPUs. You toggle ’Irix/Solaris’ modes with the ’I’ interactive command.

l: TIME -- CPU Time
Total CPU time the task has used since it started. When ’Cumulative mode’ is On, each process is listed with the cpu time that it and its dead children has used. You toggle ’Cumulative mode’ with ’S’, which is a command-line option and an interactive command. See the ’S’ interactive command for additional information regarding this mode.

m: TIME+ -- CPU Time, hundredths
The same as ’TIME’, but reflecting more granularity through hundredths of a second."

So, the previous answer was correct and it is completely comprehensible, although you could use a change of mode to make it less comprehensible, if you want. All this and more brought to you by courtesy of the man pages.
1 members found this post helpful.


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
wa (waiting time) from top command is big Horos23 Linux - Software 2 02-06-2008 06:58 AM
While booting no option is shown for Linux! Only windows xp is shown!! mon avis Linux - General 7 08-06-2006 05:14 PM
FreeBSD time in ps/top twantrd *BSD 2 08-04-2005 11:18 PM
[SOLVED] Time shown incorrect? druuna LQ Suggestions & Feedback 8 03-30-2005 04:15 PM
4 CPU's shown in top and /proc/cpuinfo Kristijan Linux - General 6 01-25-2005 09:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration