When iostat(8) receives SIGINT while running with "-w" or "-c", it will now
print statistics one more time before exiting. Also, it now implements the
wait using setitimer instead of sleep, so the waits will be more consistent
when the system is heavily loaded.
Details
Details
- Run iostat -w3
- Generate some load on the tty by running "yes" on another console
- Press CTRL-C on iostat's console
- Verify that reasonable stats are printed one last time as iostat exits
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 1528 Build 1534: arc lint + arc unit