[NTLUG:Discuss] How does non-admin check for available disk space when...
Chris Cox
cjcox at acm.org
Mon Jul 9 11:27:10 CDT 2007
Richard Geoffrion wrote:
> Chris Cox wrote:
>> Richard Geoffrion wrote:
>>
>>> there is no access to read the table of mounted filesystems?
>>>
>>> df doesn't work...so how does a regular user find out how much disk
>>> space is available and/or in-use? Well the in-use could be du....
>>>
>> df DOES work. The better question is why doesn't yours
>> work?? (puzzled)
>>
> the hosting provider doesn't allow me to get to the 'real' /etc dir ??
> That's all I can figure.
...
> du is to calculate the size of files - check!
> 'du -x' is good to keep 'du' on one file system - check!
>
> I was just curious if there was another way to use du to calculate
> usage. I'm probably out of luck on this issue.
>
>
Your provider is not thinking clearly (sorry).
du won't show you the filesystem overhead for things like
journaling. Send a nasty-gram to your hosting provider.
I know that my hosting provider (which does allow me
to see filesystem info) also provides a web interface
to show me disk utilization... maybe your does the same
and you can "scrape" that data??
More information about the Discuss
mailing list