Quantcast
Channel: Admins Goodies » du
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to do “du” on all files under a directory in linux?

This is what I tried: [demo@ ~]# ll /usr/local/apache2/logs/|xargs |du -hm - du: cannot access `-': No such file or directory I want to see the amount of space each file occupies in m unit. How to do...

View Article



Image may be NSFW.
Clik here to view.

FreeBSD: How to know real file size on zfs with compression on?

I’m using zfs on my FreeBSD 9.0 x64 and pretty happy with it, but I find it hard to count directory real, not compressed, size. Surely I can walk over the directory and count every file size with ls,...

View Article

Image may be NSFW.
Clik here to view.

Disk space usage doesn’t add up with df & du

I’m trying to free up some disk space – if I do a df -h, I have a filesystem called /dev/mapper/vg00-var which says its 4G, 3.8G used, 205M left. That corresponds to my /var directory. If I descend...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images