delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/03/02/12:32:58

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:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=sAIopTOtMC1vdmKMPOVnLs9HsFkLk
e6SDrbDs8mASlJX48C4HNc/HyLqcYuihfRpKS8lWliE6y1n70EKae10pzDDRKsmX
xZbfPLXrYwM2ZxuT0aCEoTnHQB3WJdofFEJZGpeLLWX0gHICOmwtxc9sMaxDuXvP
lPR+tFQQoH1JFo=
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:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=QKD7rDt8+7LfmJQWPXRvTk9wQLk=; b=v6b
lE3NuaGqFRHdfmzr0a5zPw6x2dmQNxZ0sxzFDPkg6eM0Zi9jAv5/6NuOXgSKbiv+
XQ4TkhU/Z/g7AulwfZPrInh+qeqWprX/rX+tb88typh9xLFbotXqFaQLYWZORa44
2K90Yc9fPHJ4VbMdxggeJ9XIUeRq1Roy7+R2I/ms=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=heck, Hx-languages-length:450
X-HELO: mail-wr0-f177.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=W3cRJgcsm/5vFYlMdKCGZ59FYcHR5fuqlGDs1zCqIlo=; b=oo9dtsPg3gjj6qx1EyZRwpV91LFvifYJIHLeICctnulX9Re5nSjst2MFH+ThNSXd+m Qy86v+rRr0Im8+o4uPoRtCvjf6h2PrkFc2kiFuAwqWKhWtG4bXQhfeNE3ZqXms5/gGNm h3kctp4EZuzQ6PbUyUHIcWBP9COHmTxRt2E/Xzl+CvRRDzTXvnf1EWtXpqWEH85QZw9v YTKsOFwY7IBmFyt49IHkeUK/n3YJq0b/MkqzyYzRYHVGOHtbyo5QxYIUZb/8FwST6ITY YlL6BL0vbpVVg8xB/2c/qNMWbzNQWeu4KuAa5eqo1lGyNtkFiXxRWQfKbTAZOcjrCQn8 wXeQ==
X-Gm-Message-State: AMke39lkOBXP/MQaAztsuVZGCXPXynk4SezvKUtAWBbixjfU0TpUt9CYgo2l9ZQtI8aclFu5PWvNJzpk3wxy9g==
X-Received: by 10.223.169.140 with SMTP id b12mr13608039wrd.138.1488475958821; Thu, 02 Mar 2017 09:32:38 -0800 (PST)
MIME-Version: 1.0
From: Marty Shannon <mjshannon3 AT gmail DOT com>
Date: Thu, 2 Mar 2017 12:32:38 -0500
Message-ID: <CA+Wt6prqt-5=JWJiqRaHfCHFO6KvPvcOfk1+jbmOC4NbZZ0prw@mail.gmail.com>
Subject: /usr/bin/top: RES and MEM% are 16 times VIRT
To: cygwin AT cygwin DOT com

The RES column displayed by /usr/bin/top is 16 times as large as VIRT
(as is MEM%, since it is presumably calculated from RES).  From my
observations, VIRT seems to agree with /proc/self/stat field 22
(0-origin), and matches what I expect.

Not a big deal, but it surprised the heck out of me....

If I were to guess, I'd say this is probably due to incorrect page
size/count calculations.

Cheers,
Marty

--
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