Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 1998 08:16:15 -0800
From:      John Polstra <jdp@polstra.com>
To:        hackers@FreeBSD.ORG
Subject:   Question about "ps" output
Message-ID:  <199803251616.IAA11359@austin.polstra.com>

next in thread | raw e-mail | index | archive | help
This is probably an ignorant question, but I'll ask it anyway.
In the output of "ps -l", what circumstances cause RSS to be larger
than VSZ, as in the last line here?

  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
 1001  3815  3814   1  10  0  1036  460 wait   Ss    p2    0:01.48 -bash (bash)
 1001 11328  3815   3  28  0   644  276 -      R+    p2    0:00.01 ps -l
 1001 10758 10757   1  10  0  1020  440 wait   Is    p6    0:00.19 -bash (bash)
 1001 10771 10758 101  -6  0  3568 6476 -      R+    p6   23:36.70 cvsup -h bur

I thought VSZ was the total size of the process, and RSS was the
subset of it resident in memory.

Does this have something to do with heavy use of mmap by the
process?
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803251616.IAA11359>