From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22138 invoked from network); 19 Oct 1999 17:05:38 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 19 Oct 1999 17:05:38 -0000 Received: from mailext02.compaq.com (mailext02.compaq.com [207.18.199.33]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA15449 for ; Tue, 19 Oct 1999 13:05:38 -0400 Received: from mailint12.im.hou.compaq.com (mailint12.compaq.com [207.18.199.190]) by mailext02.compaq.com (Postfix) with ESMTP id 994AF9AA63 for ; Tue, 19 Oct 1999 12:05:36 -0500 (CDT) Received: by mailint12.im.hou.compaq.com (Postfix, from userid 12345) id C41244FB3C; Tue, 19 Oct 1999 12:05:12 -0500 (CDT) Received: from pdgsrv.mro.dec.com (pdgsrv.mro.dec.com [16.34.112.86]) by mailint12.im.hou.compaq.com (Postfix) with ESMTP id C8F444C919 for ; Tue, 19 Oct 1999 12:05:07 -0500 (CDT) Received: from linux04.mro.dec.com by pdgsrv.mro.dec.com; (8.8.8/1.1.8.2/13Dec96-1209PM) id NAA08194; Tue, 19 Oct 1999 13:05:23 -0400 (EDT) Received: from linux04.mro.dec.com (jestabro@localhost [127.0.0.1]) by linux04.mro.dec.com (8.8.7/8.8.7) with ESMTP id NAA01415 for ; Tue, 19 Oct 1999 13:52:27 -0400 Message-Id: <199910191752.NAA01415@linux04.mro.dec.com> X-Mailer: exmh version 2.0.2 X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: axp-list To: axp-list@redhat.com From: Jay.Estabrook@digital.com Subject: Re: process time accounting In-reply-to: Your message of Tue, 19 Oct 1999 17:11:25 +0100. Mime-Version: 1.0 Content-Type: text/plain Date: Tue, 19 Oct 1999 13:52:27 -0400 Sender: jestabro@linux04.mro.dec.com >>> Lars Hjorth said: > > I have noticed a problem where the statistics about cpu-usage for the > processes are invalid on my Compaq DS20 machine with Linux 2.2.9 SMP. The > statistics will only take time used on the first processor but not on the > second. Am I the only one to experience this? > > Quick test: Make sure both CPU's have been working. Do cat /proc/stats. > This gives a printout that looks something like: > cpu 2718 0 8127 5046643 > cpu0 2718 0 8127 2517899 > cpu1 0 0 0 2528744 I see the following under 2.2.13-pre15 (plus a bunch of patches, but I don't think there's anything in the patches that affect this area): cpu 1826350 1529 158392 6428081 cpu0 743001 1189 76139 3386847 cpu1 1083524 340 83107 3040205 Do you ever see anything running on the second CPU when you run "xosview"? What does /proc/cpuinfo show? --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Project Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro, MA 01752 Jay.Estabrook@compaq.com -----------------------------------------------------------------------------