Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 1996 19:44:04 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-bin@freefall.freebsd.org, peter@freefall.freebsd.org
Subject:   Re: cvs commit:  src/bin/ps print.c
Message-ID:  <199606290944.TAA00027@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help

>  Modified:    bin/ps    print.c
>  Log:
>  Fix (I think) the %MEM count in 'ps -u'.  It was bogusly taking the
>  vm_rssize (in pages, not bytes), then dividing (bogusly) by the page size,
>  then using that as a fraction of the total pages.

Urk.  %CPU is also wrong by a factor of 128/100.  Apparently everyone uses
top :-).

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606290944.TAA00027>