du,df tools

Andy K andy at richardflanagan.com.au
Tue Sep 23 16:19:11 PDT 2003


Hi Brain

Try df -h (h for human readable output I think)Also, in you shell
profile change BLOCKSIZE= to k for kilobytes, M for Megabytes to suit
you needs

Regards
Andrew Kozak
]
On Wed, 2003-09-24 at 03:52, Brian Henning wrote:
> Greetings:
> I would like to use df and du tools to get some stat about my files and my disk.
> 
> first, why does 59375408 + 1348433 != 61337213
> df -k /home/henninb
> Filesystem            kbytes    used   avail capacity  Mounted on
>                      61337213 59375408 1348433    98%    /home/henninb
> 
> second, when i try the following command i get the result in usage on the disk.
> does du give results of  'actual file size'? can i get it to report the result
> in bytes or megabytes?
> du -a -k /home/henninb/
> 
> Thanks for any help,
> 
> Brian
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 




More information about the freebsd-questions mailing list