public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* /usr/bin/top: RES and MEM% are 16 times VIRT
@ 2017-03-02 17:32 Marty Shannon
  0 siblings, 0 replies; only message in thread
From: Marty Shannon @ 2017-03-02 17:32 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-02 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-02 17:32 /usr/bin/top: RES and MEM% are 16 times VIRT Marty Shannon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).