1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/usr.bin/vmstat
Dag-Erling Smørgrav 7d268144f1 Fix a couple of issues in the interrupt code:
- Replace overly-complicated (and buggy) -a logic with a much simpler
   version: -a causes all interrupts to be displayed, otherwise only
   those that have occurred are displayed.  This removes the need for
   any MD code.

 - Instead of just making sure intrcnt is large enough, figure out the
   exact size it needs to be.  We derive nintr from this number, and we
   don't want to risk printing garbage.  Note that on sparc64, we end up
   printing garbage anyway because the names of non-existent interrupts
   are left uninitialized by the kernel.

Tested on:	alpha, i386, sparc64
2003-12-10 22:11:51 +00:00
..
Makefile Finish the transition from libkvm to sysctl that I started a while ago. 2003-12-07 17:46:14 +00:00
vmstat.8 Finish the transition from libkvm to sysctl that I started a while ago. 2003-12-07 17:46:14 +00:00
vmstat.c Fix a couple of issues in the interrupt code: 2003-12-10 22:11:51 +00:00