From dc8ab2b64b0323376e632b2b93fbdb5c9abe383b Mon Sep 17 00:00:00 2001 From: John Dyson Date: Mon, 2 Feb 1998 05:16:42 +0000 Subject: [PATCH] Display VSZ much more accurately now. --- bin/ps/print.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/ps/print.c b/bin/ps/print.c index bfc6c8abc2f6..f83865236c8a 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: print.c,v 1.22 1997/08/03 08:25:00 peter Exp $ + * $Id: print.c,v 1.23 1997/08/03 08:28:36 peter Exp $ */ #ifndef lint @@ -411,8 +411,7 @@ vsize(k, ve) v = ve->var; (void)printf("%*d", v->width, - pgtok(KI_EPROC(k)->e_vm.vm_dsize + KI_EPROC(k)->e_vm.vm_ssize + - KI_EPROC(k)->e_vm.vm_tsize)); + (KI_EPROC(k)->e_vm.vm_map.size/1024)); } void