title="Refactor Tabular Display Programs"
Refactor utilities in the base system, such as netstat, top, and
vmstat, that format & display tables of statistics.
One possible refactoring divides each program into three:
* one program reads the statistics from the kernel and writes them in machine-readable form to its standard output
* a second program reads machine-readable tables from its standard input and writes them in a human-readable format to the standard output
* and a third program supervises a pipeline of the first two programs, browses and refreshes a table.
Several utilities will share the second and third program.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb