melling@cs.psu.edu (Michael D Mellinger) (04/28/91)
Here is the memory usage of rc, the Plan 9 shell that was posted to the net a few months back. ; ls -l rc -rwxr-xr-x 1 melling 49152 Apr 26 03:08 rc USER PID %CPU %MEM VSIZE RSIZE TT STAT TIME COMMAND melling 2925 0.0 1.6 1.36M 264K p0 S 0:06 rc ; Here are are the results of a *statically* linked rc on a SPARCstation. ; ls -l rc -rwxr-xr-x 1 melling 81920 Apr 28 06:55 rc ; size rc text data bss dec hex 65536 16384 0 81920 14000 ; file rc rc: sparc demand paged executable ; USER PID %CPU %MEM SZ RSS TT STAT START TIME COMMAND melling 1522 23.1 3.6 168 392 p0 R 07:00 0:00 ps u melling 1386 0.0 1.3 88 136 p0 S 06:53 0:01 ./rc Everything on the NeXT looks like it takes at least one meg. of virtual memory. How can we get accurate values? Is the entire shared library being counted for each program? -Mike