[gpfsug-discuss] gpfs performance monitoring

Salvatore Di Nardo sdinardo at ebi.ac.uk
Thu Sep 4 15:18:02 BST 2014


On 04/09/14 15:14, Orlando Richards wrote:
>
>
> On 04/09/14 15:07, Salvatore Di Nardo wrote:
>>
>> 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
>>
>
> It came from the gpfs.base rpm:
>
> # rpm -qf /usr/lpp/mmfs/samples/util/dstat_gpfsops.py.dstat.0.7
> gpfs.base-3.5.0-13.x86_64
>
>
>> 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 )
>>
>
> Only the gpfsops.py is included in the bundle - one for dstat 0.6 and 
> one for dstat 0.7.
>
>
> I've attached it to this mail as well (it seems to be GPL'd).
>
Thanks.



More information about the gpfsug-discuss mailing list