[gpfsug-discuss] gpfs performance monitoring
Salvatore Di Nardo
sdinardo at ebi.ac.uk
Thu Sep 4 15:07:42 BST 2014
On 04/09/14 14:54, Orlando Richards wrote:
>
>
> On 04/09/14 14:32, Salvatore Di Nardo wrote:
>> Sorry to bother you again but dstat have some issues with the plugin:
>>
>> [root at gss01a util]# dstat --gpfs
>> /usr/bin/dstat:1672: DeprecationWarning: os.popen3 is
>> deprecated. Use the subprocess module.
>> pipes[cmd] = os.popen3(cmd, 't', 0)
>> Module dstat_gpfs failed to load. (global name 'select' is not
>> defined)
>> None of the stats you selected are available.
>>
>> I found this solution , but involve dstat recompile....
>>
>> https://github.com/dagwieers/dstat/issues/44
>>
>> Are you aware about any easier solution (we use RHEL6.3) ?
>>
>
> This worked for me the other day on a dev box I was poking at:
>
> # rm /usr/share/dstat/dstat_gpfsops*
>
> # cp /usr/lpp/mmfs/samples/util/dstat_gpfsops.py.dstat.0.7
> /usr/share/dstat/dstat_gpfsops.py
>
> # dstat --gpfsops
> /usr/bin/dstat:1672: DeprecationWarning: os.popen3 is deprecated. Use
> the subprocess module.
> pipes[cmd] = os.popen3(cmd, 't', 0)
> ---------------------------gpfs-vfs-ops--------------------------#-----------------------------gpfs-disk-i/o-----------------------------
>
> 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
> 0 0 0 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0 0 0 0 0
>
> ...
>
NICE!! The only problem is that the box seems lacking those python scripts:
ls /usr/lpp/mmfs/samples/util/
makefile README tsbackup tsbackup.C tsbackup.h tsfindinode
tsfindinode.c tsgetusage tsgetusage.c tsinode tsinode.c
tslistall tsreaddir tsreaddir.c tstimes tstimes.c
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 )
Regards,
Salvatore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20140904/8feb0d5b/attachment-0003.htm>
More information about the gpfsug-discuss
mailing list