Print

Print


no, it returns also the space :
/usr/bin/xrdfs storage02.spacescience.ro:1094 query stats p
30464479020105850131073130419735000892700000029003046030460server00000000000000001"/""/storage01/xrdnamespace/home/aliprod/data/"9612255148206514524122070630412201036271public1922451029642099358421447906023034571

and for redirector :
/usr/bin/xrdfs rd.spacescience.ro:1094 query stats p
53800796781600000000099136100000033601698460017278353800300538003manager00000984600079293360161727830000001"/""/"3564208830158372227292821077260

the purpose is to get all the data i need from a "query stat" including the space and avoiding a second call :
/usr/bin/xrdfs rd.spacescience.ro spaceinfo /

i am monitoring the xrootd stats from the stats output but i would need also the reported space, which it seems that is reported by servers but not by redirector ...

Thank you!
Adrian


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":"PERSON","message":"@adriansev in #456: no, it returns also the space : \r\n/usr/bin/xrdfs storage02.spacescience.ro:1094 query stats p\r\n\u003cstatistics tod=\"1487800443\" ver=\"v4.5.0\" src=\"storage02.spacescience.ro:1094\" tos=\"1487692103\" pgm=\"xrootd\" ins=\"server\" pid=\"27477\" site=\"ALICE::ISS::FILE\"\u003e\u003cstats id=\"xrootd\"\u003e\u003cnum\u003e3046\u003c/num\u003e\u003cops\u003e\u003copen\u003e4479\u003c/open\u003e\u003crf\u003e0\u003c/rf\u003e\u003crd\u003e2010585\u003c/rd\u003e\u003cpr\u003e0\u003c/pr\u003e\u003crv\u003e13107\u003c/rv\u003e\u003crs\u003e3130419\u003c/rs\u003e\u003cwr\u003e735\u003c/wr\u003e\u003csync\u003e0\u003c/sync\u003e\u003cgetf\u003e0\u003c/getf\u003e\u003cputf\u003e0\u003c/putf\u003e\u003cmisc\u003e8927\u003c/misc\u003e\u003c/ops\u003e\u003csig\u003e\u003cok\u003e0\u003c/ok\u003e\u003cbad\u003e0\u003c/bad\u003e\u003cign\u003e0\u003c/ign\u003e\u003c/sig\u003e\u003caio\u003e\u003cnum\u003e0\u003c/num\u003e\u003cmax\u003e0\u003c/max\u003e\u003crej\u003e0\u003c/rej\u003e\u003c/aio\u003e\u003cerr\u003e29\u003c/err\u003e\u003crdr\u003e0\u003c/rdr\u003e\u003cdly\u003e0\u003c/dly\u003e\u003clgn\u003e\u003cnum\u003e3046\u003c/num\u003e\u003caf\u003e0\u003c/af\u003e\u003cau\u003e3046\u003c/au\u003e\u003cua\u003e0\u003c/ua\u003e\u003c/lgn\u003e\u003c/stats\u003e\u003cstats id=\"ofs\"\u003e\u003crole\u003eserver\u003c/role\u003e\u003copr\u003e0\u003c/opr\u003e\u003copw\u003e0\u003c/opw\u003e\u003copp\u003e0\u003c/opp\u003e\u003cups\u003e0\u003c/ups\u003e\u003chan\u003e0\u003c/han\u003e\u003crdr\u003e0\u003c/rdr\u003e\u003cbxq\u003e0\u003c/bxq\u003e\u003crep\u003e0\u003c/rep\u003e\u003cerr\u003e0\u003c/err\u003e\u003cdly\u003e0\u003c/dly\u003e\u003csok\u003e0\u003c/sok\u003e\u003cser\u003e0\u003c/ser\u003e\u003ctpc\u003e\u003cgrnt\u003e0\u003c/grnt\u003e\u003cdeny\u003e0\u003c/deny\u003e\u003cerr\u003e0\u003c/err\u003e\u003cexp\u003e0\u003c/exp\u003e\u003c/tpc\u003e\u003c/stats\u003e\u003cstats id=\"oss\" v=\"2\"\u003e\u003cpaths\u003e1\u003cstats id=\"0\"\u003e\u003clp\u003e\"/\"\u003c/lp\u003e\u003crp\u003e\"/storage01/xrdnamespace/home/aliprod/data/\"\u003c/rp\u003e\u003ctot\u003e9612255148\u003c/tot\u003e\u003cfree\u003e206514524\u003c/free\u003e\u003cino\u003e1220706304\u003c/ino\u003e\u003cifr\u003e1220103627\u003c/ifr\u003e\u003c/stats\u003e\u003c/paths\u003e\u003cspace\u003e1\u003cstats id=\"0\"\u003e\u003cname\u003epublic\u003c/name\u003e\u003ctot\u003e19224510296\u003c/tot\u003e\u003cfree\u003e420993584\u003c/free\u003e\u003cmaxf\u003e214479060\u003c/maxf\u003e\u003cfsn\u003e2\u003c/fsn\u003e\u003cusg\u003e3034571\u003c/usg\u003e\u003c/stats\u003e\u003c/space\u003e\u003c/stats\u003e\u003c/statistics\u003e\r\n\r\nand for redirector : \r\n/usr/bin/xrdfs rd.spacescience.ro:1094 query stats p\r\n\u003cstatistics tod=\"1487800433\" ver=\"v4.5.0\" src=\"rd.spacescience.ro:1094\" tos=\"1487438802\" pgm=\"xrootd\" ins=\"manager\" pid=\"16107\" site=\"ALICE::ISS::FILE\"\u003e\u003cstats id=\"xrootd\"\u003e\u003cnum\u003e538007\u003c/num\u003e\u003cops\u003e\u003copen\u003e967816\u003c/open\u003e\u003crf\u003e0\u003c/rf\u003e\u003crd\u003e0\u003c/rd\u003e\u003cpr\u003e0\u003c/pr\u003e\u003crv\u003e0\u003c/rv\u003e\u003crs\u003e0\u003c/rs\u003e\u003cwr\u003e0\u003c/wr\u003e\u003csync\u003e0\u003c/sync\u003e\u003cgetf\u003e0\u003c/getf\u003e\u003cputf\u003e0\u003c/putf\u003e\u003cmisc\u003e991361\u003c/misc\u003e\u003c/ops\u003e\u003csig\u003e\u003cok\u003e0\u003c/ok\u003e\u003cbad\u003e0\u003c/bad\u003e\u003cign\u003e0\u003c/ign\u003e\u003c/sig\u003e\u003caio\u003e\u003cnum\u003e0\u003c/num\u003e\u003cmax\u003e0\u003c/max\u003e\u003crej\u003e0\u003c/rej\u003e\u003c/aio\u003e\u003cerr\u003e336016\u003c/err\u003e\u003crdr\u003e984600\u003c/rdr\u003e\u003cdly\u003e172783\u003c/dly\u003e\u003clgn\u003e\u003cnum\u003e538003\u003c/num\u003e\u003caf\u003e0\u003c/af\u003e\u003cau\u003e0\u003c/au\u003e\u003cua\u003e538003\u003c/ua\u003e\u003c/lgn\u003e\u003c/stats\u003e\u003cstats id=\"ofs\"\u003e\u003crole\u003emanager\u003c/role\u003e\u003copr\u003e0\u003c/opr\u003e\u003copw\u003e0\u003c/opw\u003e\u003copp\u003e0\u003c/opp\u003e\u003cups\u003e0\u003c/ups\u003e\u003chan\u003e0\u003c/han\u003e\u003crdr\u003e984600\u003c/rdr\u003e\u003cbxq\u003e0\u003c/bxq\u003e\u003crep\u003e7929\u003c/rep\u003e\u003cerr\u003e336016\u003c/err\u003e\u003cdly\u003e172783\u003c/dly\u003e\u003csok\u003e0\u003c/sok\u003e\u003cser\u003e0\u003c/ser\u003e\u003ctpc\u003e\u003cgrnt\u003e0\u003c/grnt\u003e\u003cdeny\u003e0\u003c/deny\u003e\u003cerr\u003e0\u003c/err\u003e\u003cexp\u003e0\u003c/exp\u003e\u003c/tpc\u003e\u003c/stats\u003e\u003cstats id=\"oss\" v=\"2\"\u003e\u003cpaths\u003e1\u003cstats id=\"0\"\u003e\u003clp\u003e\"/\"\u003c/lp\u003e\u003crp\u003e\"/\"\u003c/rp\u003e\u003ctot\u003e35642088\u003c/tot\u003e\u003cfree\u003e30158372\u003c/free\u003e\u003cino\u003e2272928\u003c/ino\u003e\u003cifr\u003e2107726\u003c/ifr\u003e\u003c/stats\u003e\u003c/paths\u003e\u003cspace\u003e0\u003c/space\u003e\u003c/stats\u003e\u003c/statistics\u003e\r\n\r\nthe purpose is to get all the data i need from a \"query stat\" including the space and avoiding a second call : \r\n/usr/bin/xrdfs rd.spacescience.ro spaceinfo /\r\n\r\ni am monitoring the xrootd stats from the stats output but i would need also the reported space, which it seems that is reported by servers but not by redirector ...\r\n\r\nThank you!\r\nAdrian"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/456#issuecomment-281818240"}}}

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