Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 1996 23:38:13 -0700 (MST)
From:      Marc Slemko <marcs@znep.com>
To:        Ollivier Robert <roberto@keltia.freenix.fr>
Cc:        "FreeBSD Current Users' list" <freebsd-current@freebsd.org>
Subject:   Re: Patch for larger stats in vmstat -i
Message-ID:  <Pine.BSF.3.95.961124233458.12070P-100000@alive.ampr.ab.ca>
In-Reply-To: <Mutt.19961124155834.roberto@keltia.freenix.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961124233458.12070P-100000>