<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Do you need to do anything with the results or just need them
displayed?<br>
If you need to manipulate the results, consider using Perl, <br>
or if C or C++,<br>
in your 'exec' call, pipe the output to a file, then just read that
file into your program.<br>
Ain't UNIX great?<br>
<br>
David M.<br>
<br>
<br>
<div class="moz-cite-prefix">Stephan Henning wrote:<br>
</div>
<blockquote
cite="mid:CACu1UD5r-=NhTHqzjaZ2F=9ZCixsnSTjgb4j_A2GTsMuqPqr4A@mail.gmail.com"
type="cite">
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
General mailing list
<a class="moz-txt-link-abbreviated" href="mailto:General@lists.makerslocal.org">General@lists.makerslocal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.makerslocal.org/mailman/listinfo/general">http://lists.makerslocal.org/mailman/listinfo/general</a></pre>
</blockquote>
<br>
</body>
</html>