delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/16/16:51:10

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: 'top' command always reports 0.0% cpu usage
Date: Thu, 16 Feb 2006 15:56:31 -0600
Message-ID: <261998F8FB9AF44B80638C240CF14A5A01CEF66F@EXCHANGE1.mexico.tem.mx>
From: "Manuel Gonzalez Montoya" <mrn01784 AT telefonicamoviles DOT com DOT mx>
To: <cygwin AT cygwin DOT com>
X-TM-AS-Product-Ver: SMEX-7.0.0.1345-3.52.1006-14270.000
X-TM-AS-Result: No-1.300000-8.000000-31
X-imss-version: 2.030
X-imss-result: Passed
X-imss-scores: Clean:68.05239 C:2 M:3 S:5 R:5
X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k1GLp9Zo028112

All,
 
    I just installed the lastest cygwin version on an XP Professional
SP2 machine and noticed the output of the top command always reports
wrong info (0.0%) about the CPU usage summary as you can see in the
example:
 
Tasks:  10 total,   1 running,   9 sleeping,   0 stopped,   0 zombie
Cpu0  :   0.0% user,   0.0% system,   0.0% nice,   0.0% idle
Mem:    522776k total,   308740k used,   214036k free,        0k buffers
Swap:  2097152k total,    70060k used,  2027092k free,        0k cached
 
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 3080 manuel.g   8   0 22976  20m  448 R  3.5  3.9   0:59.29 top
 2304 manuel.g   8   0 28416 1216    0 S  0.0  0.2   0:00.59 bash
 2920 manuel.g   8   0 16640  26m 1344 S  0.0  5.2   0:00.09 man
 2148 manuel.g   8   0 26112  43m  832 S  0.0  8.6   0:00.06 sh
 3380 manuel.g   8   0 24640  33m  960 S  0.0  6.6   0:00.06 sh
  684 manuel.g   8   0 26432  46m 1024 S  0.0  9.1   0:00.07 sh
  900 manuel.g   8   0 19520  26m 1152 S  0.0  5.1   0:00.04 less
 3828 manuel.g   8   0 15936  26m  832 S  0.0  5.2   0:00.06 groff
 3252 manuel.g   8   0 29440  24m  896 S  0.0  4.9   0:00.40 bash
 3936 manuel.g   8   0 23552  31m  640 S  0.0  6.1   0:00.21 grotty


Is that an error or just the normal behavior?


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019