Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 1998 13:34:16 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        jdp@polstra.com (John Polstra)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Question about "ps" output
Message-ID:  <199803251834.NAA05640@dyson.iquest.net>
In-Reply-To: <199803251616.IAA11359@austin.polstra.com> from John Polstra at "Mar 25, 98 08:16:15 am"

next in thread | previous 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.
> 
On 2.2.X and earlier versions of 3.0-current, VSZ didn't take mmaped
segments into account.  Now it does.  RSS has been accurate.

John

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?199803251834.NAA05640>