From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10589 invoked by alias); 2 Mar 2017 17:32:42 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10573 invoked by uid 89); 2 Mar 2017 17:32:41 -0000 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 Received: from mail-wr0-f177.google.com (HELO mail-wr0-f177.google.com) (209.85.128.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 Mar 2017 17:32:40 +0000 Received: by mail-wr0-f177.google.com with SMTP id u108so57663563wrb.3 for ; Thu, 02 Mar 2017 09:32:40 -0800 (PST) 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 Received: by 10.80.147.75 with HTTP; Thu, 2 Mar 2017 09:32:38 -0800 (PST) From: Marty Shannon Date: Thu, 02 Mar 2017 17:32:00 -0000 Message-ID: Subject: /usr/bin/top: RES and MEM% are 16 times VIRT To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2017-03/txt/msg00020.txt.bz2 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