<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I saw a utility that did that back in Win 3.1.  <br>
    If you could get the raw data, not OS dependent, that would be a
    place to start.  Block sizes you can get from various disk
    utilities.  If you know which format is being used, you can simply
    look it up.  Ext3, Ext 4, or is it a raid array?  SATA 3 can support
    up to 6 gb/sec system wide but of course, no OS can achieve
    theoretical max.  PC's to date have not been designed well enough
    for that anyway.  However, they have gotten infinitely better than
    they were before.  :)<br>
    Parted or Gparted should give you the block sizes.<br>
    <br>
    You could write some general programs to thrash the disks with
    random blocks of data in both read and write, and use Linux's
    microsecond- accurate clock data that is available to programs.  If
    all you need is the raw data.<br>
    <br>
    David M.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">Stephan Henning wrote:<br>
    </div>
    <blockquote
cite="mid:CACu1UD7TWEF-dr=P31gKyrBu0+KNnkxwoBefSMypH9jO0wxvww@mail.gmail.com"
      type="cite">
      <div dir="ltr">This is a RedHat6 Enterprise install. 
        <div><br>
        </div>
        <div>I don't think htop has the data I need, but I'll check. I'm
          not familiar with ntop and I didn't consider using trace for
          this, I'll check that as well.</div>
        <div><br>
        </div>
        <div>The goal is to record read/write rates and block sizes. I'm
          pretty sure I am bottlenecking against the drive array, I'm
          hoping I can get some definitive answers from this. </div>
      </div>
      <div class="gmail_extra">
        <br>
        <br>
        <div class="gmail_quote">On Wed, Dec 11, 2013 at 6:01 PM, David
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:ainut@knology.net" target="_blank">ainut@knology.net</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> ntop might do the
              trick, but not available in Fedora.
              <div>
                <div class="h5"><br>
                  <br>
                  <br>
                  <div>David wrote:<br>
                  </div>
                  <blockquote type="cite"> Can 'htop' show open files?<br>
                    <br>
                    For intensive live net data, look at WireShark for
                    linux.<br>
                    <br>
                    <br>
                    <div>David wrote:<br>
                    </div>
                    <blockquote type="cite"> If that's what you're
                      looking for, there are several (free) programs you
                      could run from the command line in a separate
                      window/screen while your program is running that
                      give you all you're asking about.  Sort of an
                      equivalent to Winblows "System Explorer."  What
                      flavor or Linux are you using? <br>
                      <br>
                      David M.<br>
                      <br>
                      <br>
                      <div>Devin Boyer wrote:<br>
                      </div>
                      <blockquote type="cite">
                        <div dir="ltr">Try something like "strace -T
                          myapp" or "strace -T -c myapp"; they'll show
                          the system calls being made and the amount of
                          time spent in each.  It's slightly different
                          information than iostat, but it may be useful
                          in figuring out what and where your program is
                          performing io access.</div>
                        <div class="gmail_extra"><br>
                          <br>
                          <div class="gmail_quote">On Wed, Dec 11, 2013
                            at 3:37 PM, Stephan Henning <span dir="ltr"><<a
                                moz-do-not-send="true"
                                href="mailto:shenning@gmail.com"
                                target="_blank">shenning@gmail.com</a>></span>
                            wrote:<br>
                            <blockquote class="gmail_quote"
                              style="margin:0 0 0 .8ex;border-left:1px
                              #ccc solid;padding-left:1ex">
                              <div dir="ltr">
                                <div>
                                  <div>
                                    <div>No, iostat will normally just
                                      dump to the terminal window, but
                                      I'd like to pipe it's output to a
                                      file so I can parse it later. <br>
                                      <br>
                                    </div>
                                    My end goal here is to be able to
                                    generate a log of iostat output
                                    while I run this program, I'm trying
                                    to determine exactly how hard this
                                    program is hitting my harddrive and
                                    at what points during it's run does
                                    it access the drive the most
                                    frequently. <br>
                                    <br>
                                  </div>
                                  I've done something similar in bash
                                  before, but it is rather clunky. <br>
                                  <br>
                                </div>
                                I'll take a look at exec and see if I
                                can use it. <br>
                              </div>
                              <div>
                                <div>
                                  <div class="gmail_extra"> <br>
                                    <br>
                                    <div class="gmail_quote">On Wed, Dec
                                      11, 2013 at 4:46 PM, David <span
                                        dir="ltr"><<a
                                          moz-do-not-send="true"
                                          href="mailto:ainut@knology.net"
                                          target="_blank">ainut@knology.net</a>></span>
                                      wrote:<br>
                                      <blockquote class="gmail_quote"
                                        style="margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex">
                                        <div 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?
                                          <div><br>
                                            <br>
                                            David M.<br>
                                            <br>
                                            <br>
                                            <div>Stephan Henning wrote:<br>
                                            </div>
                                          </div>
                                          <blockquote type="cite">
                                            <div>
                                              <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></fieldset>
                                              <br>
                                            </div>
                                            <div>
                                              <pre>_______________________________________________
General mailing list
<a moz-do-not-send="true" href="mailto:General@lists.makerslocal.org" target="_blank">General@lists.makerslocal.org</a>
<a moz-do-not-send="true" href="http://lists.makerslocal.org/mailman/listinfo/general" target="_blank">http://lists.makerslocal.org/mailman/listinfo/general</a></pre>
                                            </div>
                                          </blockquote>
                                          <br>
                                        </div>
                                        <br>
_______________________________________________<br>
                                        General mailing list<br>
                                        <a moz-do-not-send="true"
                                          href="mailto:General@lists.makerslocal.org"
                                          target="_blank">General@lists.makerslocal.org</a><br>
                                        <a moz-do-not-send="true"
                                          href="http://lists.makerslocal.org/mailman/listinfo/general"
                                          target="_blank">http://lists.makerslocal.org/mailman/listinfo/general</a><br>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                </div>
                              </div>
                              <br>
_______________________________________________<br>
                              General mailing list<br>
                              <a moz-do-not-send="true"
                                href="mailto:General@lists.makerslocal.org"
                                target="_blank">General@lists.makerslocal.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://lists.makerslocal.org/mailman/listinfo/general"
                                target="_blank">http://lists.makerslocal.org/mailman/listinfo/general</a><br>
                            </blockquote>
                          </div>
                          <br>
                        </div>
                        <br>
                        <fieldset></fieldset>
                        <br>
                        <pre>_______________________________________________
General mailing list
<a moz-do-not-send="true" href="mailto:General@lists.makerslocal.org" target="_blank">General@lists.makerslocal.org</a>
<a moz-do-not-send="true" href="http://lists.makerslocal.org/mailman/listinfo/general" target="_blank">http://lists.makerslocal.org/mailman/listinfo/general</a></pre>
                      </blockquote>
                      <br>
                      <br>
                      <fieldset></fieldset>
                      <br>
                      <pre>_______________________________________________
General mailing list
<a moz-do-not-send="true" href="mailto:General@lists.makerslocal.org" target="_blank">General@lists.makerslocal.org</a>
<a moz-do-not-send="true" href="http://lists.makerslocal.org/mailman/listinfo/general" target="_blank">http://lists.makerslocal.org/mailman/listinfo/general</a></pre>
                    </blockquote>
                    <br>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
General mailing list
<a moz-do-not-send="true" href="mailto:General@lists.makerslocal.org" target="_blank">General@lists.makerslocal.org</a>
<a moz-do-not-send="true" href="http://lists.makerslocal.org/mailman/listinfo/general" target="_blank">http://lists.makerslocal.org/mailman/listinfo/general</a></pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            General mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:General@lists.makerslocal.org">General@lists.makerslocal.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.makerslocal.org/mailman/listinfo/general"
              target="_blank">http://lists.makerslocal.org/mailman/listinfo/general</a><br>
          </blockquote>
        </div>
        <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>