<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 04/09/14 14:54, Orlando Richards
      wrote:<br>
    </div>
    <blockquote cite="mid:54086F1D.1000401@ed.ac.uk" type="cite">
      <br>
      <br>
      On 04/09/14 14:32, Salvatore Di Nardo wrote:
      <br>
      <blockquote type="cite">Sorry to bother you again but dstat have
        some issues with the plugin:
        <br>
        <br>
         [root@gss01a util]# dstat --gpfs
        <br>
         /usr/bin/dstat:1672: DeprecationWarning: os.popen3 is
        <br>
         deprecated. Use the subprocess module.
        <br>
         pipes[cmd] = os.popen3(cmd, 't', 0)
        <br>
         Module dstat_gpfs failed to load. (global name 'select'
        is not
        <br>
         defined)
        <br>
         None of the stats you selected are available.
        <br>
        <br>
        I found this solution , but involve dstat recompile....
        <br>
        <br>
        <a class="moz-txt-link-freetext" href="https://github.com/dagwieers/dstat/issues/44">https://github.com/dagwieers/dstat/issues/44</a>
        <br>
        <br>
        Are you aware about any easier solution (we use RHEL6.3) ?
        <br>
        <br>
      </blockquote>
      <br>
      This worked for me the other day on a dev box I was poking at:
      <br>
      <br>
      # rm /usr/share/dstat/dstat_gpfsops*
      <br>
      <br>
      # cp /usr/lpp/mmfs/samples/util/dstat_gpfsops.py.dstat.0.7
      /usr/share/dstat/dstat_gpfsops.py
      <br>
      <br>
      # dstat --gpfsops
      <br>
      /usr/bin/dstat:1672: DeprecationWarning: os.popen3 is deprecated.
      Use the subprocess module.
      <br>
       pipes[cmd] = os.popen3(cmd, 't', 0)
      <br>
---------------------------gpfs-vfs-ops--------------------------#-----------------------------gpfs-disk-i/o-----------------------------
      <br>
       cr del op/cl rd wr trunc fsync looku gattr sattr other
      mb_rd mb_wr pref wrbeh steal clean sync revok logwr logda oth_r
      oth_w
      <br>
       0 0 0 0 0 0 0 0 0 0
      0 0  0 0 0 0 0 0 0 0 0
      0 0
      <br>
      <br>
      ...
      <br>
      <br>
    </blockquote>
    <br>
    NICE!! The only problem is that the box seems lacking those python
    scripts:<br>
    <blockquote>
      <blockquote><tt>ls /usr/lpp/mmfs/samples/util/</tt><br>
        <tt>makefile README tsbackup tsbackup.C tsbackup.h
          tsfindinode tsfindinode.c tsgetusage tsgetusage.c tsinode
          tsinode.c tslistall tsreaddir tsreaddir.c tstimes
          tstimes.c</tt><br>
      </blockquote>
    </blockquote>
    Do you mind sending me those py files? They should be 3 as i see e
    gpfs options: gpfs, gpfs-ops, gpfsops (dunno what are the
    differences )<br>
    <br>
    Regards,<br>
    Salvatore<br>
    <br>
    <br>
    <br>
  </body>
</html>