From owner-freebsd-questions Tue Jul 22 12:22:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA21055 for questions-outgoing; Tue, 22 Jul 1997 12:22:42 -0700 (PDT) Received: from eyelab.psy.msu.edu (eyelab.psy.msu.edu [35.8.64.179]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA21042 for ; Tue, 22 Jul 1997 12:22:37 -0700 (PDT) Received: from eyelab3.psy.msu.edu (eyelab3.psy.msu.edu [35.8.64.180]) by eyelab.psy.msu.edu (8.8.6/8.8.5) with SMTP id PAA08696 for ; Tue, 22 Jul 1997 15:17:08 -0400 (EDT) Message-Id: <3.0.3.32.19970722152012.0070422c@eyelab.msu.edu> X-Sender: root@eyelab.msu.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Tue, 22 Jul 1997 15:20:12 -0400 To: freebsd-questions@freebsd.org From: Gary Schrock Subject: netstat uses signed numbers for traffic counting? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm kind of curious as to whether theres a reason that netstat uses signed numbers for keeping track of the number of bytes that have been sent/received. Quite honestly it would make more sense to me (unless there's actually a reason for it) to use an unsigned number. Here's the edited output for a machine I admin (edited for some clarity sake): Name Mtu Network Address Ipkts Ierrs Ibytes de0 1500 00.00.c0.c5.6e.d5 39360140 7 -1838703748 Note the Ibytes value. Gary Schrock root@eyelab.msu.edu