Print

Print


Hi Max,

You are correct. mpxstat was written before "site" was envisioned and so 
was not included in the output. I'll mark this as a bug.

Andy

On Wed, 22 Mar 2017, Max Fischer wrote:

> When using `mpxstats` with the `cgi` or `flat` format, it is missing the `site` field. In the plain XML output, the field is present.
>
> Tested on SL6, xrootd v4.6.0 installed via yum from the official repository.
>
> I have also tried using a sitename without the `::` special characters in the samples. The outcome was the same.
>
> Cheers, Max
>
> XML format:
> ```
> $ mpxstats -p 20333
> <statistics tod="1490206699" ver="v4.6.0" src="f01-101-130-e:0" tos="1490206639" pgm="cmsd" ins="server" pid="14164" site="ALICE::FZK::SE"><stats id="info"><host>f01-101-130-e</host><port>0</port><name>server</name></stats><stats id="buff"><reqs>0</reqs><mem>0</mem><buffs>0</buffs><adj>0</adj><xlreqs>0</xlreqs><xlmem>0</xlmem><xlbuffs>0</xlbuffs></stats><stats id="link"><num>2</num><maxn>2</maxn><tot>2</tot><in>29085</in><out>33174</out><ctime>0</ctime><tmo>0</tmo><stall>0</stall><sfps>0</sfps></stats><stats id="proc"><usr><s>0</s><u>33994</u></usr><sys><s>0</s><u>172973</u></sys></stats><stats id="cms"><role>S</role></stats><stats id="sched"><jobs>530</jobs><inq>0</inq><maxinq>2</maxinq><threads>14</threads><idle>7</idle><tcr>14</tcr><tde>0</tde><tlimr>0</tlimr></stats><stats id="sgen"><as>0</as><et>0</et><toe>1490206699</toe></stats></statistics>
> ```
>
> Flat format:
> ```
> $ mpxstats -p 20333
> tod 1490206708
> ver v4.6.0
> src f01-101-130-e:1094
> tos 1490206648
> pgm xrootd
> ins server
> pid 15684
> info.host f01-101-130-e
> info.port 1094
> info.name server
> buff.reqs 3092
> buff.mem 113770496
> buff.buffs 373
> buff.adj 0
> buff.xlreqs 0
> buff.xlmem 0
> buff.xlbuffs 0
> link.num 326
> link.maxn 346
> link.tot 704
> link.in 3568738723
> link.out 329682288
> link.ctime 1330
> link.tmo 77
> link.stall 0
> link.sfps 0
> proc.usr.s 0
> proc.usr.u 736887
> proc.sys.s 19
> proc.sys.u 543029
> xrootd.num 704
> xrootd.ops.open 952
> xrootd.ops.rf 0
> xrootd.ops.rd 5321
> xrootd.ops.pr 0
> xrootd.ops.rv 1
> xrootd.ops.rs 471
> xrootd.ops.wr 470
> xrootd.ops.sync 0
> xrootd.ops.getf 0
> xrootd.ops.putf 0
> xrootd.ops.misc 1635
> xrootd.sig.ok 0
> xrootd.sig.bad 0
> xrootd.sig.ign 0
> xrootd.aio.num 0
> xrootd.aio.max 0
> xrootd.aio.rej 0
> xrootd.err 0
> xrootd.rdr 0
> xrootd.dly 0
> xrootd.lgn.num 704
> xrootd.lgn.af 0
> xrootd.lgn.au 703
> xrootd.lgn.ua 0
> ofs.role server
> ofs.opr 90
> ofs.opw 0
> ofs.opp -3
> ofs.ups 0
> ofs.han 93
> ofs.rdr 0
> ofs.bxq 0
> ofs.rep 0
> ofs.err 0
> ofs.dly 0
> ofs.sok 0
> ofs.ser 0
> ofs.tpc.grnt 0
> ofs.tpc.deny 0
> ofs.tpc.err 0
> ofs.tpc.exp 0
> oss.paths 1
> oss.paths.0.lp /
> oss.paths.0.rp /export/xrootd/
> oss.paths.0.tot 2121697067008
> oss.paths.0.free 204474556416
> oss.paths.0.ino 15684186112
> oss.paths.0.ifr 15555374836
> oss.space 1
> oss.space.0.name public
> oss.space.0.tot 2121697067008
> oss.space.0.free 204443974600
> oss.space.0.maxf 204443974600
> oss.space.0.fsn 1
> oss.space.0.usg 3218719
> sched.jobs 889
> sched.inq 0
> sched.maxinq 2
> sched.threads 111
> sched.idle 73
> sched.tcr 111
> sched.tde 0
> sched.tlimr 0
> sgen.as 1
> sgen.et 0
> sgen.toe 1490206708
> ```
>
> -- 
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly or view it on GitHub:
> https://github.com/xrootd/xrootd/issues/484


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/484#issuecomment-288536611

########################################################################
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