summaryrefslogtreecommitdiffstats
path: root/bin/ps/print.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1998-02-02 05:16:42 +0000
committerdyson <dyson@FreeBSD.org>1998-02-02 05:16:42 +0000
commit1038ea339937bc25dffe0b3b13da0c2701ff0e27 (patch)
tree8a97b4c57d801c6245ebec91e3f16ea8d2f37be5 /bin/ps/print.c
parent9c63bc645fd39a09b69cb938b865d9e34a88ee71 (diff)
downloadFreeBSD-src-1038ea339937bc25dffe0b3b13da0c2701ff0e27.zip
FreeBSD-src-1038ea339937bc25dffe0b3b13da0c2701ff0e27.tar.gz
Display VSZ much more accurately now.
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r--bin/ps/print.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c
index bfc6c8a..f838652 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
OpenPOWER on IntegriCloud