login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
3
Re: top displaying 9999% CPU usage
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Ilpo Järvinen
Subject:
Re: top displaying 9999% CPU usage
Date: Wednesday, October 3, 2007 - 7:43 am
On Wed, 3 Oct 2007, Frans Pop wrote:
quoted text
> On Wednesday 03 October 2007, you wrote: > > Try to capture the i/o log with the following command: > > strace -o top.log top > > Thanks for the suggestion. > > > This will show for sure whether the kernel gives out incorrect data or > > top misinterprets them. > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 5269 fjp 20 0 442m 61m 33m S 9999 3.1 0:34.12 kontact > > Here are the last two reads for PID 5269 from /proc before that: > > 15:48:51 stat("/proc/5269", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 > 15:48:51 open("/proc/5269/stat", O_RDONLY) = 10 > 15:48:51 read(10, "5269 (kontact) S 1 5100 5100 0 -1 4202560 58186 7891 290 1 2911 502 10 15 20 0 6 0 9225 464408576 15694 18446744073709551615 4194304 4365900 140733817144688 18446744073709551615 47998530367074 0 0 4098 83113 18446744073709551615 0 0 17 1 0 0 0\n", 1023) = 244 > 15:48:51 open("/proc/5269/statm", O_RDONLY) = 10 > 15:48:54 stat("/proc/5269", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 > 15:48:54 open("/proc/5269/stat", O_RDONLY) = 10 > 15:48:54 read(10, "5269 (kontact) S 1 5100 5100 0 -1 4202560 58186 7891 290 1 2912 500 10 15 20 0 6 0 9225 464408576 15694 18446744073709551615 4194304 4365900 140733817144688 18446744073709551615 47998530367074 0 0 4098 83113 18446744073709551615 0 0 17 1 0 0 0\n", 1023) = 244 > 15:48:54 open("/proc/5269/statm", O_RDONLY) = 10 > > The only change is in 2 consecutive columns: "2911 502" -> "2912 500". > Is processor usage calculated from those? Can someone explain how?
The latter seems to be utime ...decreasing. No wonder if arithmetics will give strange results (probably top is using unsigned delta?)... -- i. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
top displaying 9999% CPU usage
, Frans Pop
, (Wed Oct 3, 5:33 am)
Re: top displaying 9999% CPU usage
, Jan Engelhardt
, (Wed Oct 3, 5:52 am)
Re: top displaying 9999% CPU usage
, Alexander E. Patrakov
, (Wed Oct 3, 6:03 am)
Re: top displaying 9999% CPU usage
, Frans Pop
, (Wed Oct 3, 7:04 am)
Re: top displaying 9999% CPU usage
, Ilpo Järvinen
, (Wed Oct 3, 7:43 am)
Re: top displaying 9999% CPU usage
, Ilpo Järvinen
, (Wed Oct 3, 7:51 am)
Decreasing stime running confuses top (was: top displaying ...
, Frans Pop
, (Wed Oct 3, 12:27 pm)
Re: Decreasing stime running confuses top (was: top displa ...
, Willy Tarreau
, (Wed Oct 3, 1:24 pm)
Re: Decreasing stime running confuses top (was: top displa ...
, Frans Pop
, (Wed Oct 3, 4:32 pm)
Re: Decreasing stime running confuses top (was: top displa ...
, Luca Tettamanti
, (Thu Oct 4, 12:19 pm)
Re: Decreasing stime running confuses top
, Chuck Ebbert
, (Thu Oct 4, 12:32 pm)
Re: Decreasing stime running confuses top
, Christian Borntraeger
, (Thu Oct 4, 1:00 pm)
Re: Decreasing stime running confuses top
, Chuck Ebbert
, (Thu Oct 4, 1:21 pm)
[PATCH for testing] Re: Decreasing stime running confuses top
, Christian Borntraeger
, (Thu Oct 4, 2:10 pm)
Re: [PATCH for testing] Re: Decreasing stime running confu ...
, Chuck Ebbert
, (Thu Oct 4, 3:01 pm)
Re: [PATCH for testing] Re: Decreasing stime running confu ...
, Christian Borntraeger
, (Thu Oct 4, 3:31 pm)
Re: [PATCH for testing] Re: Decreasing stime running confu ...
, Luca
, (Fri Oct 5, 4:43 am)
Re: [PATCH for testing] Re: Decreasing stime running confu ...
, Frans Pop
, (Fri Oct 5, 8:07 am)
Re: [PATCH for testing] Re: Decreasing stime running confu ...
, Frans Pop
, (Fri Oct 5, 8:49 am)
Re: [PATCH for testing] Re: Decreasing stime running confu ...
, Christian Borntraeger
, (Mon Oct 8, 9:49 am)
Re: [PATCH for testing] Re: Decreasing stime running confu ...
, Ingo Molnar
, (Mon Oct 8, 10:00 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 041/196] kobject: add kobject_init_and_add function
Lukas Hejtmanek
Re: Another libata error related to OCZ SSD
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
Florian Fainelli
Re: System clock runs too fast after 2.6.27 -> 2.6.28.1 upgrade
Christoph Lameter
[patch 1/4] mmu_notifier: Core code
git
:
Johannes Schindelin
Re: [PATCH 1/2] Add strbuf_initf()
John Bito
[EGIT] Push to GitHub caused corruption
Jakub Narebski
Re: [PATCH 0/2] gitweb: patch view
Junio C Hamano
Re: [PATCH] When a remote is added but not fetched, tell the user.
Andy Parkins
Re: [RFC] Submodules in GIT
git-commits-head
:
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
V4L/DVB (11086): au0828: rename macro for currently non-function VBI support
Linux Kernel Mailing List
ceph: client types
Linux Kernel Mailing List
ceph: on-wire types
Linux Kernel Mailing List
crypto: chainiv - Use kcrypto_wq instead of keventd_wq
linux-netdev
:
Andrew Morton
Re: [Bugme-new] [Bug 14969] New: b44: WOL does not work in suspended state
Giuseppe CAVALLARO
Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Taku Izumi
[PATCH 3/3] ixgbe: add registers etc. printout code just before resetting adapters
Eric Dumazet
rps: some comments
Thomas Gleixner
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
openbsd-misc
:
Stephan Andreas
problems with login after xlock in OpenBSD release 4.7
pmc
Make A Change. Alcoholism and Drug Addiction Treatment
ropers
Re: what exactly is enc0?
Fuad NAHDI
Re: What does your environment look like?
Matthew Szudzik
Typo on OpenBSD 4.4 CD Set
Colocation donated by:
Syndicate