Print

Print


Hi! I try to find out space usage statistics (total/used/free -
preferably in 4k blocks) with xrdfs but the help is not very clear.
space          <space>  Logical space stats
stats          <what>   Server stats

[root@grid04 ~]# xrdfs rd.spacescience.ro query space /
5 3097 78 5 3097 78

this does not give me space information .. given that the output is
similar with statvfs i imagine that the meaning of numbers are the same:
[root@grid04 ~]# xrdfs rd.spacescience.ro statvfs /
Path:                             /
Nodes with RW space:              5
Size of RW space (MB):            3097
Utilization of RW space (%):      78
Nodes with staging space:         5
Size of staging space (MB):       3097
Utilization of staging space (%): 78

for that stats part that <what> have no explanations...
i tried to use ids from the xml output of :
xrdfs rd.spacescience.ro query stats all

but it is not working:
[root@grid04 ~]# xrdfs rd.spacescience.ro query stats oss
<statistics tod="1391077950" ver="v3.3.4" src="rd.spacescience.ro:1094"
tos="1383251403" pgm="xrootd" ins="manager" pid="2949" site=""><stats
id="sched"><jobs>14923123</jobs><inq>0</inq><maxinq>10</maxinq><threads>14</threads><idle>9</idle><tcr>18354</tcr><tde>18340</tde><tlimr>0</tlimr></stats></statistics>

[root@grid04 ~]# xrdfs rd.spacescience.ro query stats id="oss"
<statistics tod="1391077756" ver="v3.3.4" src="rd.spacescience.ro:1094"
tos="1383251403" pgm="xrootd" ins="manager" pid="2949" site=""><stats
id="info"><host>rd.spacescience.ro</host><port>1094</port><name>manager</name></stats><stats
id="poll"><att>185</att><en>6856013</en><ev>6854956</ev><int>0</int></stats><stats
id="sched"><jobs>14922746</jobs><inq>0</inq><maxinq>10</maxinq><threads>14</threads><idle>9</idle><tcr>18354</tcr><tde>18340</tde><tlimr>0</tlimr></stats></statistics>

So .. is there some documentation more informative about usage of xrdfs
and retrieving the info from a redirector?

Thank you!
Adrian


########################################################################
Use REPLY-ALL to reply to list

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