The du tag has no wiki summary.
1
vote
2answers
116 views
Ubuntu server: hard drive always full
I have a 50GB vps
when I run df I get
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 49982172 46580100 863064 99% /
none 507212 ...
-1
votes
3answers
85 views
Map linux folders by size
I have AWS linux instance, Currently there are many folders in the instance.
I would like to map all the folders and their size, so i could come back in 1 month and check which folder occupy high ...
2
votes
0answers
82 views
Monitoring of disk usage over time - check for large variations
I'm looking for a tool that would monitor disk usage over time. What I'm looking for is folders or files that grow unexpectedly over a short period of time.
I use du , ncdu, baobab (when X is ...
-1
votes
1answer
57 views
Inconsistency between “du -sh” and “df -h” [duplicate]
Possible Duplicate:
du vs. df difference
I am running a server with Debian stable.
If I call:
df -h
this is the result I get:
Filesystem Size Used Avail Use% Mounted on
...
2
votes
1answer
69 views
How can I calculate the total size of an extremely large number of files with a particular extension?
I've got a directory in Linux that contains a large number of files (tens of thousands), plus directories that may contain thousands of files as well.
At some point the following du command fails ...
4
votes
5answers
136 views
Get Size of All Folders in Directory
I want to get the size of all directories within a specific directory. I was thinking something like
find . -type d -exec du -sh {} \;
But that returns all directories recursively. How can I limit ...
-1
votes
1answer
81 views
I can't find the ghosts taking up space on my hard drive [duplicate]
Possible Duplicate:
How do I find out what is using up all the space on my / partition?
No Free disk space
$df -h
returns
/dev/sda1 16G 16G 0 100% /
tmpfs ...
0
votes
3answers
130 views
How to find largest files in a dir - ignoring directory sizes
I want to do something like this
du -a | sort -rn | head
But I want to extract files only, ignoring directories.
To be clear, I want to traverse through all sub-directories but I don't want to ...
2
votes
1answer
58 views
Folder's taking up way more than it should
My server is chugging along with a 5GB drive, and unfortunately, it's 100% full. Going to delete some files, I notice that my Dropbox's taking up way more than it should. du -hs * returns:
...
2
votes
1answer
1k views
Ubuntu “No space left on device” for /home, df shows 100% full, ds shows much, much less [duplicate]
Possible Duplicate:
Linux different size for df and du for root partition
On an Ubuntu 12.04 server, normal users can no longer create or add to files in /home, encountering a "No space ...
0
votes
1answer
95 views
finding directories that consume a lot of the AFS volume quota
The AFS volume quota is almost exceeded for one of our computer users. Running fs listquota or fs lq gives him a warning:
olifri@ubuntu:~$ fs listquota ~
Volume Name Quota ...
1
vote
4answers
539 views
Cross-platform, human-readable, du on root partition that truly ignores other filesystems
Edit 09/20/2012
I made this way too complicated before. I believe that these commands are actually the simpler way, while still formatting everything nicely.
RHEL 5
du -x / | sort -n |cut ...
2
votes
3answers
69 views
du displaying old results
I ran du -hs to find out how big my /home/user directory was and it reported as 18G. I cleared out almost 4G of data and ran du -hs again to find out how much space I actually saved and it still ...
0
votes
1answer
484 views
Du tells me it can't find the current directory?
I'm on AIX, and in some directories I can't use the du command. I get the follow error message:
du: 0653-175 Cannot find the current directory.
Obviously the current directory exists, and I ...
1
vote
1answer
1k views
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 ...
1
vote
1answer
77 views
Server was ok for space on /, ran du -s, now server is at 100% usage on /
Our server running RHEL 4 apparently ran out of space today. It was working fine and I decided to run a du -s on an unused directory of files to see how much space we would free deleting it. Upon ...
0
votes
4answers
277 views
Linux du and rsync 100% disk utilization
Whenever I run du -sh or rsync I get my disk utilisation at 100%. This causes mysql slow queries to appear, which usually causes my site going down.
Any tips or tricks running these to commands ...
4
votes
2answers
638 views
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 ...
3
votes
4answers
369 views
Disk full on linux server, blocks used is much less then blocks avalable
Output of df is:
[root@backup log]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGro 1889811408 1861658948 0 100% /
/dev/sda1 101086 ...
0
votes
4answers
195 views
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 ...
15
votes
4answers
2k views
What is the difference between du -h and ls -lh?
I am having a difficult time grasping what is the correct way to read the size of the files since each command gives you varying results. I also came across a post at ...