Top under the DS5000? Bash memory leak?

Jim Hudgens hudgens at sun13.scri.fsu.edu
Sat Jun 2 02:13:33 AEST 1990


Has anyone ported "top" to run under RISC/Ultrix?  In particular,
several quantities which are retrieved from the kernel are 
fixed point, and the output of top is messed up under the 
WCPU, and CPU columns, as well as the load averages being wrong.

I've tried to patch them, but the output still doesn't look right.

Also, in testing "top", I found something which appears to be
a memory leak in BASH 1.05 which happens under DS ULTRIX (3.1d?)
VAX Ultrix (3.1b) but not under SunOS 4.0.3:

   $ while j=0; do j=1; done
   out of swap space, pid 3194, proc bash
   Out of virtual memory!

This machine is configured with 64M of swap.  The sun process does not
grow in size at all.  Total elapsed time is about 5 to 10 minutes.

Sampled output from top (WCPU/CPU columns wrong):

 2860 hudgens   57    0  1256K  960K run     0:13 6614.88% 6600.00% bash
 ...
 2860 hudgens   88    0  3512K 3216K run     0:39 18241.03% 18200.00% bash
 ...
 2860 hudgens   88    0  5768K 5472K run     1:03 22049.59% 22000.00% bash

Any pointers apreciated.  

-- 
standard_disclaimer() { perror("personal opinions only"); exit(1); }
Jim Hudgens			Supercomputer Computations Research Institute
hudgens at vsserv.scri.fsu.edu	



More information about the Comp.unix.ultrix mailing list