Re: systat vmstat disk widths
Simon Burge <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.general |
|---|---|
| Organization | Wasabi Systems, Inc. |
| Message-ID | <[email protected]> |
On Tue, Aug 06, 2002 at 11:35:30AM +0100, David Brownlee wrote: > Currently 'systat vmstat' displays disk information in > columns 5 wide, with titles 4 wide. This clips the instance > number from raid devices, and causes numbers to run into > each other: > > Discs wd0 wd1 cd0 fd0 md0 raid raid 64 fmin > seeks 85 ftarg > xfers 177 179 35 3 itarg > Kbyte1132811385 568 103 470 wired > %busy 99.6 99.4 16.1 pdfre I wonder if some sort of scaling (like top) would work. For example: Discs wd0 wd1 cd0 fd0 md0 raid raid 64 fmin seeks 85 ftarg xfers 177 179 35 3 itarg Kbyte 11M 11M 568 103 470 wired %busy 99.6 99.4 16.1 pdfre Other things that come to mind are auto-scaling the widths of the columns based on the number of disk devices, and perhaps some heuristic to weed out devices that aren't really used (cd0, fd0 and md0 in your example). Simon. -- Simon Burge <[email protected]> NetBSD Development, Support and Service: http://www.wasabisystems.com/