From owner-freebsd-current Sun Nov 24 22:40:21 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA08013 for current-outgoing; Sun, 24 Nov 1996 22:40:21 -0800 (PST) Received: from scanner.worldgate.com (scanner.worldgate.com [198.161.84.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id WAA08006 for ; Sun, 24 Nov 1996 22:40:20 -0800 (PST) Received: from znep.com (uucp@localhost) by scanner.worldgate.com (8.7.5/8.7.3) with UUCP id XAA05741; Sun, 24 Nov 1996 23:40:11 -0700 (MST) Received: from localhost (marcs@localhost) by alive.ampr.ab.ca (8.7.5/8.7.3) with SMTP id XAA15795; Sun, 24 Nov 1996 23:38:14 -0700 (MST) Date: Sun, 24 Nov 1996 23:38:13 -0700 (MST) From: Marc Slemko X-Sender: marcs@alive.ampr.ab.ca To: Ollivier Robert cc: "FreeBSD Current Users' list" Subject: Re: Patch for larger stats in vmstat -i In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 24 Nov 1996, Ollivier Robert wrote: > My machine has been up for only 14 days and vmstat -i shows this: > > 233 [15:52] root@keltia:/usr/src# vmstat -i > interrupt total rate > clk0 irq0 123297965 101 > rtc0 irq8 155630847 127 > fdc0 irq6 1 0 > sc0 irq1 678213 0 > sio0 irq4 4380709 3 > sio1 irq3 332337 0 > ed0 irq10 1 0 > Total 284320073 233 > > With the following patch, the output looks like this: > > 647 [15:55] roberto@keltia:/tmp/vmstat> ./vmstat -i > interrupt total rate > clk0 irq0 123327561 101 > rtc0 irq8 155665768 127 > fdc0 irq6 1 0 > sc0 irq1 679726 0 > sio0 irq4 4380709 3 > sio1 irq3 333074 0 > ed0 irq10 1 0 > Total 284386840 233 If it is worthwhile to change, why not make it a few longer than that? Even with your patch, I can get: interrupt total rate clk0 irq0 295363845 99 rtc0 irq8 378098605 127 fdc0 irq6 1 0 wdc0 irq14 125614605 42 wdc1 irq15 148530817 50 sc0 irq1 1 0 sio1 irq3 20746 0 ed0 irq5 205705153 69 ep0 irq10 131130 0 Total 1153464903 390