Re: du in ROOT

From: Chiara Zampolli <Chiara.Zampolli_at_bo.infn.it>
Date: Wed, 26 Nov 2008 16:28:54 +0100


Hi Rene,

    yes, I know. I was wondering whether this was already implemented as a method of some class, because what I would need is then to see how much free space I have left (in percentage), which would mean to call awk, but if you had something like GetDiskUsed() and GetDiskAvailable(), it would have been nicer...

    Thanks!

             c.

Rene Brun wrote:
> Chiara,
>
> You can always do:
> gSystem->Exec("du . >du.log")
>
> Rene Brun
>
> Chiara Zampolli wrote:
>> Hi all,
>>
>> is there a way in ROOT to get the same information as those one
>> can get from the unix command du?
>> Thanks and cheers,
>>
>> Chiara
>>
>
Received on Wed Nov 26 2008 - 16:29:09 CET

This archive was generated by hypermail 2.2.0 : Wed Nov 26 2008 - 23:50:01 CET