From owner-freebsd-hackers Thu Jul 6 16:08:48 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA07857 for hackers-outgoing; Thu, 6 Jul 1995 16:08:48 -0700 Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id QAA07850 for ; Thu, 6 Jul 1995 16:08:47 -0700 Received: from inet-gw-3.pa.dec.com (inet-gw-3.pa.dec.com [16.1.0.33]) by mail.barrnet.net (8.6.10/MAIL-RELAY-LEN) with SMTP id PAA01331 for ; Thu, 6 Jul 1995 15:04:49 -0700 Received: from muggsy.lkg.dec.com by inet-gw-3.pa.dec.com (5.65/24Feb95) id AA00835; Thu, 6 Jul 95 15:00:44 -0700 Received: from whydos.lkg.dec.com by muggsy.lkg.dec.com (5.65/DEC-Ultrix/4.3) with SMTP id AA03221; Thu, 6 Jul 1995 17:59:30 -0400 Received: from localhost (localhost [127.0.0.1]) by whydos.lkg.dec.com (8.6.11/8.6.9) with SMTP id RAA01215 for ; Thu, 6 Jul 1995 17:59:37 GMT Message-Id: <199507061759.RAA01215@whydos.lkg.dec.com> X-Authentication-Warning: whydos.lkg.dec.com: Host localhost didn't use HELO protocol To: hackers@freebsd.org Subject: How can VSZ < RSS? Huh!? X-Mailer: exmh version 1.5omega 10/6/94 Date: Thu, 06 Jul 1995 17:59:37 +0000 From: Matt Thomas Sender: hackers-owner@freebsd.org Precedence: bulk I'm running FreeBSD 2.0.5 and I'm seeing something that is slightly confusing. When doing a "ps axu", many processes have a RSS greater than their VSZ. USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND thomas 1146 14.3 5.5 1348 1712 ?? S 5:53PM 0:00.48 /usr/local/bin/wish -f /usr/local/bin/exmh-b root 442 13.2 31.2 6736 9688 ?? S 4:33PM 5:10.76 /usr/X11R6/bin/X -bpp 16 -auth /usr/X11R6/li root 62 0.0 1.0 184 296 ?? Ss 3:59PM 0:00.43 syslogd daemon 68 0.0 0.8 176 232 ?? Is 3:59PM 0:00.02 portmap root 77 0.0 1.0 224 292 ?? Is 3:59PM 0:00.45 inetd root 84 0.0 1.1 272 324 ?? Is 3:59PM 0:00.25 cron root 86 0.0 0.9 188 280 ?? Is 3:59PM 0:00.06 lpd root 89 0.0 1.0 416 288 ?? Is 3:59PM 0:00.20 sendmail: accepting connections (sendmail) root 129 0.0 1.0 484 296 v0 Is+ 3:59PM 0:00.56 -csh (csh) root 130 0.0 1.4 156 420 v1 Is+ 3:59PM 0:00.04 /usr/libexec/getty Pc ttyv1 root 131 0.0 1.4 156 420 v2 Is+ 3:59PM 0:00.04 /usr/libexec/getty Pc ttyv2 root 439 0.0 1.4 304 432 ?? I 4:33PM 0:00.05 xdm root 443 0.0 3.3 408 1004 ?? I 4:33PM 0:00.21 -:0 (xdm) root 449 0.0 3.1 260 952 ?? I 4:33PM 0:00.09 xconsole -geometry 480x130-0-0 -daemon -noti thomas 452 0.0 0.6 480 180 ?? I 4:33PM 0:00.13 /bin/sh /other/users/thomas/.xsession thomas 462 0.7 3.7 428 1144 ?? S 4:33PM 0:14.25 fvwm thomas 463 0.0 5.0 312 1556 ?? S 4:33PM 0:05.38 xload -geom 140x72+88-0 -fg SkyBlue -bg Dark thomas 464 0.0 4.9 292 1516 ?? S 4:33PM 0:03.39 xclock -fg green -hl yellow -bg black -geom thomas 467 0.0 3.0 244 932 ?? S 4:33PM 0:01.46 /usr/X11R6/lib/X11/fvwm/FvwmPager 11 7 /othe root 470 0.3 6.9 1052 2144 ?? S 4:33PM 0:00.92 xterm thomas 473 0.0 0.9 480 284 p1 Ss 4:33PM 0:00.13 -sh (csh) thomas 1061 0.0 0.2 188 52 ?? I 5:33PM 0:00.01 sleep 3600 thomas 1148 0.0 0.2 188 56 ?? S 5:53PM 0:00.01 sleep 4 root 0 0.0 0.0 0 0 ?? DLs - 0:00.00 (swapper) thomas 1149 0.0 0.7 472 200 p1 R+ 5:53PM 0:00.02 ps axu root 1 0.0 0.6 368 188 ?? Is 3:59PM 0:00.18 /sbin/init -- root 2 0.0 0.1 0 12 ?? DL 3:59PM 0:00.03 (pagedaemon) My guess is this is related to the use mmap by process (to load the sharable libraries or other things). Still looks weird. Matt Thomas Internet: matt@lkg.dec.com U*X Networking WWW URL: http://ftp.dec.com/%7Ethomas/ Digital Equipment Corporation Disclaimer: This message reflects my Littleton, MA own warped views, etc.