Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing 'site' field in mpxstats flat/cgi format #484

Closed
maxfischer2781 opened this issue Mar 22, 2017 · 4 comments
Closed

Missing 'site' field in mpxstats flat/cgi format #484

maxfischer2781 opened this issue Mar 22, 2017 · 4 comments
Assignees

Comments

@maxfischer2781
Copy link

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
@abh3
Copy link
Member

abh3 commented Mar 22, 2017 via email

@abh3
Copy link
Member

abh3 commented Mar 22, 2017 via email

@maxfischer2781
Copy link
Author

Hi Andy,

actually, I did. This is a GitHub issue thread (or did I miss your point?).

Cheers,
Max

@abh3
Copy link
Member

abh3 commented Mar 22, 2017 via email

@abh3 abh3 self-assigned this May 17, 2017
@abh3 abh3 closed this as completed in afb288b Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants