Date: Sun, 30 Apr 2006 01:39:46 +0000 (UTC) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/systat vmstat.c Message-ID: <200604300139.k3U1dk34002436@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2006-04-30 01:39:46 UTC FreeBSD src repository Modified files: usr.bin/systat vmstat.c Log: Edit the interrupt name strings to shorten them. This is believed to only affect amd64 and i386. alpha uses "intr N" instead of "irqN" and mostly has no device names. ia64 uses only device names. - Edit interrupt names once after they are read from the kernel and not every time they are displayed. - Discard bogus trailing spaces so that the next step doesn't move things to oblivion. - If an interrupt name starts with "irqN:" (as it usually does in on amd64 and i386), then move "irqN" to the end and strip ":", since we have no space for the ":" and don't want to start descriptions with "N" after stripping "irq" in the next step (since "N" would look like a count). This step may need reworking for interrupt names containing several device names -- then moving the irq number to the end would lose it instead of losing some device names. - Remove "irq" from an interrupt name if and only if the original name is too long to display. Revision Changes Path 1.72 +33 -2 src/usr.bin/systat/vmstat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604300139.k3U1dk34002436>