Print

Print


Hi Doug,

   Fixed. Thanks for reporting! 90 is a decimal ASCII code for Z. This 
variable is represented in xrdfs as uint8_t (unsigned char), hence Z is 
printed instead of 90 if not casted to an int.

 
https://github.com/xrootd/xrootd/commit/4407e26e64ff8e2ccea51869b40fbd15cee5ffe1

Cheers,
    Lukasz

On 03.09.2013 03:49, Doug Benjamin wrote:
> Hi,
>
> I am looking at the output of xrdfs statvfs
>
> [root@linuxpc ~]#  xrdfs  atlfs03.phy.duke.edu statvfs /atlas/dq2
> Path:                             /atlas/dq2
> Nodes with RW space:              1
> Size of RW space (MB):            1776926
> Utilization of RW space (%):      Z
> Nodes with staging space:         1
> Size of staging space (MB):       1776926
> Utilization of staging space (%): Z
>
>
> While here is what xrd states -
>
> [root@linuxpc ~]#  xrd  atlfs03.phy.duke.edu statvfs /atlas/dq2
> r/w nodes: 1 r/w free space: 1776926 r/w utilization: 90 staging nodes:
> 1 staging free space: 1776926 staging utilization: 90
>
> Utilization of RW space (%) Z makes no sense.
>
> Also is there a way short of a xrootdfs mount to determine the total
> size of the space and the free space?
>
> Thanks,
>
> Doug
>
> ########################################################################
> 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

########################################################################
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