Print

Print


Hi Fabrizio,

OK, but 'query stats p' does with a minimum amount of extra noise.

Andy

On Fri, 21 Feb 2014, ffurano wrote:

> Hi (who are you?)
>
> are you planning not to support 'query stats a' in the future ?
>
> Unfortunately 'query stats i' does not give the dpmoss version, which I find
> useful:
>
> $xrdfs lxfsra04a04 query stats i
> <statistics tod="1392974205" ver="v3.3.6" src="lxfsra04a04.cern.ch:1094" tos="1392932555" pgm="xrootd" ins="redir" pid="17838"
> site=""><stats id="info"><host>lxfsra04a04.cern.ch</host><port>1094</port><name>redir</name></stats></statistics>
>
> ... instead 'query stats a' does:
>
> $xrdfs lxfsra04a04 query stats a
> <statistics tod="1392974168" ver="v3.3.6" src="lxfsra04a04.cern.ch:1094" tos="1392932555" pgm="xrootd" ins="redir" pid="17838"
> site=""><stats id="info"><host>lxfsra04a04.cern.ch</host><port>1094</port><name>redir</name></stats><stats
> id="buff"><reqs>1</reqs><mem>1024</mem><buffs>1</buffs><adj>0</adj></stats><stats
> id="link"><num>1</num><maxn>1</maxn><tot>1</tot><in>0</in><out>0</out><ctime>0</ctime><tmo>0</tmo><stall>0</stall><sfps>0</sfps></stats><stats
> id="poll"><att>1</att><en>1</en><ev>1</ev><int>0</int></stats><stats
> id="proc"><usr><s>0</s><u>114982</u></usr><sys><s>0</s><u>9998</u></sys></stats><stats
> id="xrootd"><num>1</num><ops><open>0</open><rf>0</rf><rd>0</rd><pr>0</pr><rv>0</rv><rs>0</rs><wr>0</wr><sync>0</sync><getf>0</getf><putf>0</putf><misc>2</misc></ops><aio><num>0</num><max>0</max><rej>0</rej></aio><err>0</err><rdr>0</rdr><dly>0</dly><lgn><num>1</num><af>0</af><au>1</au><ua>0</ua></lgn></stats><stats
> id="ofs"><role>manager</role><opr>0</opr><opw>0</opw><opp>0</opp><ups>0</ups><han>0</han><rdr>0</rdr><bxq>0</bxq><rep>0</rep><err>0</err><dly>0</dly><sok>0</sok><ser>0</ser><tpc><grnt>0</grnt><deny>0</deny><err>0</err><exp>0</exp></tpc></stats><stats
> id="dpmoss" v="3.3.6/v3.3.6/13:59:21/Feb 20 2014"></stats><stats id="oss" v="2"><paths>1<stats
> id="0"><lp>"/tmp"</lp><rp>"/tmp"</rp><tot>10095152</tot><free>9075464</free><ino>642112</ino><ifr>642062</ifr></stats></paths><space>0</space></stats><stats
> id="sched"><jobs>68</jobs><inq>0</inq><maxinq>1</maxinq><threads>3</threads><idle>1</idle><tcr>3</tcr><tde>0</tde><tlimr>0</tlimr></stats><stats
> id="sgen"><as>1</as><et>0</et><toe>1392974168</toe></stats></statistics>
>
> ... the alst word on this will be Ivan's, anyway I am not worried by parsing this from a python script
> that publishes to bdii every now and then. ... should I ?
>
> Thank you
> Fabrizio
>
> On 02/21/2014 10:38 AM, xrootd-dev wrote:
>> Please use 'query stats i' you still get all the information you want
>> without having to generate a lot of useless information (for you).
>>
>> On Fri, 21 Feb 2014, ffurano wrote:
>>
>> > Thank you all for the quick and very relevant answers!
>> > We will try to use 'xrdfs query stats a' because for DPM it also
>> > gives the version of the oss plugin in use.
>> >
>> > Cheers
>> > Fabrizio
>> >
>> > On 02/20/2014 11:49 PM, Andrew Hanushevsky wrote:
>> >> And to add to that ÿÿ the shorter version being
>> >>
>> >> xrdfs host query stats i
>> >>
>> >> From: Lukasz Janyst
>> >> Sent: Thursday, February 20, 2014 2:13 PM
>> >> To: xrootd/xrootd
>> >> Cc: Andrew Hanushevsky
>> >> Subject: Re: [xrootd] Query version seems broken (#85)
>> >>
>> >> Or better:
>> >>
>> >> xrdfs host query stats a
>> >> The xrd command will be deprecated from 4 onwards.
>> >>
>> >> ÿÿ
>> >> Reply to this email directly or view it on GitHub.
>> >>
>> >> ÿÿ
>> >> Reply to this email directly or view it on GitHub <https://github.com/xrootd/xrootd/issues/85#issuecomment-35679176>.
>> >>
>> >
>> > ---
>> > Reply to this email directly or view it on GitHub:
>> > https://github.com/xrootd/xrootd/issues/85#issuecomment-35710852
>> > ########################################################################
>> > Use REPLY-ALL to reply to list
>> >
>> > To unsubscribe from the XROOTD-DEV list, click the following link:
>> > https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1
>> >
>>
>> ÿÿ
>> Reply to this email directly or view it on GitHub <https://github.com/xrootd/xrootd/issues/85#issuecomment-35712050>.
>>
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/xrootd/xrootd/issues/85#issuecomment-35712516


Reply to this email directly or view it on GitHub.



Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1