]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When iostat(8) receives SIGINT while running with "-w" or "-c", it will now
authorasomers <asomers@FreeBSD.org>
Wed, 9 Dec 2015 18:07:26 +0000 (18:07 +0000)
committerasomers <asomers@FreeBSD.org>
Wed, 9 Dec 2015 18:07:26 +0000 (18:07 +0000)
commit9a0871ec2053b950f18a4449fec741aa92ed1762
tree44c13bdce2f0eb1b82979f03bac497e7096c822a
parent2bb0e924cc5d81b56b5eba9cae7011c55a7c6215
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.

MFC after: 4 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D4473
usr.sbin/iostat/iostat.c