delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/11/16:29:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:cc
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=s5o4dmZUuaNDi6sM
e2PJVmrmvu7dxTcsIHQAW+wYjppd/8Hl02vaND1nPA+aF6y9BSa8mvqtaIIPZ2n2
/GMw28CP4/jafbaJq3k2/uafO0Y73VTlX72xa20RR/VLdj4U89izydqhvHxlQaDA
IKfFO4y2K8W6T1Y/NWXR7Yg9rKQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:cc
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=z/dGC2muakdKM481zkhzLW
iq/Yw=; b=sW1BCWM28lDsCe+ODbeXsWpBBUl2Rb9z10eZK6qCf3k3RFd8mGUUMM
oGIKIUO+kImYhy1JNqqq3KYsxL2uGlFlfE92xsco8pL5/F2r1y99TGdYAY6x3s77
jGza35JCAUJM+nzkhJQZa/pgh+6ViqV3qNq1p7djIZO+fove4RcKs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=98m, 1.3, Nor, bliss
X-HELO: Ishtar.sc.tlinx.org
Message-ID: <5C86C52B.8030600@tlinx.org>
Date: Mon, 11 Mar 2019 13:29:31 -0700
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: jwang <jwang25610 AT gmail DOT com>
CC: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Privilege(s) needed to run top command
References: <1552323028120-0 DOT post AT n5 DOT nabble DOT com>
In-Reply-To: <1552323028120-0.post@n5.nabble.com>
X-IsSubscribed: yes

On 3/11/2019 9:50 AM, jwang wrote:
> This is used to work for a ordinary login.
>
> After re-install, top does not show the true load et al.  Nor processes
> owned by SYSTEM.
>
> Please shed some light.  Thanks a lot in advance.
>   
You mean this:

top - 13:26:15 up 1 day, 16:13,  1 user,  load average: 4.91, 7.22, 7.72
Tasks:  12 total,   1 running,  11 sleeping,   0 stopped,   0 zombie
%Cpu(s):  15.4/1.3   
17[                                                     ]
GiB Mem : 15.9/95.651  
[                                                     ]
GiB Swap:  0.0/95.651  
[                                                     ]
 
  PID USER      PR  NI    VIRT    RES  %CPU %MEM     TIME+ S
COMMAND           
 2016 SYSTEM     8   0    8.4m   8.2m   0.0  0.0   0:00.03 S
cygrunsrv         
 2017 SYSTEM     8   0    9.8m   9.1m   0.0  0.0   3:09.82 S  `-
cygserver     
 2018 SYSTEM     8   0    8.3m   7.8m   0.0  0.0   0:00.00 S
cygrunsrv         
 2019 SYSTEM     8   0    7.1m   6.9m   0.0  0.0   0:00.09 S  `-
dbus-daemon   
 2023 SYSTEM     8   0    6.9m   6.9m   0.0  0.0   0:00.03 S
syslogd           
 2028 Bliss\l+   8   0    7.6m   7.1m   0.0  0.0   0:00.00 S
inetd             
13134 Bliss\l+   8   0    7.0m   7.1m   0.0  0.0   0:00.06 S  `-
rlogind       
13135 Bliss\l+   8   0    8.8m  10.2m   0.0  0.0   0:00.49 S      `-
bash      
13267 Bliss\l+   8   0   10.2m  10.2m   3.0  0.0   0:02.68 R          `-
top   
 2046 Bliss\l+   8   0  154.6m 137.2m   0.0  0.1  19:23.48 S
XWin              
 2187 Bliss\l+   8   0    7.4m   7.4m   0.0  0.0   0:00.31 S
sshd              
 2514 Bliss\l+   8   0    9.6m  19.6m   0.0  0.0   0:00.40 S gvim
----

Did you mean that it doesn't show non-cygwin processes? or does your 'top'
really not display cygwin's SYSTEM processes?


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

- Raw text -


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