Print

Print


On 01/30/2014 12:52 PM, Lukasz Janyst wrote:
> On 30.01.2014 11:32, Adrian Sevcenco wrote:
>> 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:
> 
> The output of 'query space' is implementation dependent. In pure
> xrootd you get:
> 
> ]==> xrdfs metaman query space /data 2 13 31 2 13 31
> 
> In EOS you get:
> 
> ]==> xrdfs eosatlas query space / 
> oss.cgroup=default&oss.space=18747277867692032&oss.free=4341978005811200&oss.maxf=68719476736&oss.used=14405299861880832&oss.quota=18747277867692032
hmm, this would be nice to get ..

>> [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
> 
> Isn't it what you need, except that in MB and %?
nope .. i have 222 TB of data (now is less because of down dataserver)..
you can see details here:
http://alimonitor.cern.ch/stats?filter_0=ISS&page=SE%2Ftable

So, the output is not correct..

>> 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 So .. is there some documentation more informative about
>> usage of xrdfs and retrieving the info from a redirector?
> 
> Thanks for pointing this out. I will put the relevant info in the 
> help message and the man page. In the mean time you can look here
> (the arg parameter):
> 
> http://xrootd.org/doc/dev4/XRdv300.htm#_Toc372751559
thanks .. but still i don't see how can i get the size of the storage..

the thing is that i understood that xrdfs should be the preferred method
for xrood interrogation so this is why i try with xrdfs..

in the mean time i will use this:
echo exit | ~/xrdserver/bin/xrd $1.spacescience.ro queryspace / -

as it give me some information

Thanks!!
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