[comp.sys.next] /bin/ps, or memory is cheap

melling@cs.psu.edu (Michael D Mellinger) (04/26/91)

Does the ps command work properly on the NeXT under 2.0?  It seems to
be giving larger memory consumption values than it should be.

/bin/csh is only a little over 100K, not including the shared libaries.

     -rwxr-xr-x  1 root     wheel     106496 Oct 22  1990 /bin/csh*

So why is this sucker taking up 384K, or 2.3% of memory?

haydn> ps u
USER       PID  %CPU %MEM VSIZE RSIZE TT STAT  TIME COMMAND
melling   1778   1.5  2.3 1.34M  384K p0 S     0:00 -csh (csh)


VSIZE isn't even documented in the man page.  Assume it's virtual
memory?  1.34MB has got to be wrong!!

Could it be that people who thought that they would never need to max
out the 32MB memory expansion limitation on a NeXTstation were wrong?

-Mike