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, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Missing 'site' field in mpxstats flat/cgi format (#484)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/484"}}}

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