<div dir="ltr"><div>I'd like to take some metrics with iostat while I have a specific program running, is there a way to wrap iostat around another program (it is called from the command line) so that iostat ends when the program finishes running? <br>
<br></div>I know I can do it with a bash script, but I'm hoping for a more elegant solution. <br></div>