From owner-freebsd-hackers Wed Mar 25 08:16:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA02526 for freebsd-hackers-outgoing; Wed, 25 Mar 1998 08:16:20 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA02519 for ; Wed, 25 Mar 1998 08:16:15 -0800 (PST) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id IAA11359 for ; Wed, 25 Mar 1998 08:16:16 -0800 (PST) (envelope-from jdp) Message-Id: <199803251616.IAA11359@austin.polstra.com> To: hackers@FreeBSD.ORG Subject: Question about "ps" output Date: Wed, 25 Mar 1998 08:16:15 -0800 From: John Polstra Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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