Quote:
Originally Posted by yowi
"ls -la" will give you a long listing of all files and directories in the current directory
Code:
find . -size +1G -exec du -sh '{}' \;
will show you all files 1GB or larger under the current directory
|
hi , uptill now i could not solve it !!!
my os is 1005 and now is crached
i couldnt know why my hardsik is full !!!
plz advice me
here is some reuslts:
==============
[root@squid /]# find . -size +1G -exec du -sh '{}' \;
17G ./var/spool/abrt/ccpp-2013-02-23-14:07:45-18496/coredump
0 ./proc/kcore
find: `./proc/15387/task/15387/fd/5': No such file or directory
find: `./proc/15387/task/15387/fdinfo/5': No such file or directory
find: `./proc/15387/fd/5': No such file or directory
find: `./proc/15387/fdinfo/5': No such file or directory
[root@squid /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 165G 158G 0 100% /
tmpfs 16G 0 16G 0% /dev/shm
/dev/sdb 550G 16G 507G 3% /cache1
/dev/sdd 550G 16G 507G 3% /cache2
/dev/sde 550G 16G 507G 3% /cache3
[root@squid /]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Thu Feb 21 10:05:33 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=7e8424aa-d3a7-4132-9bed-a40ac8400bb3 / ext4 defaults 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sdb /cache1 ext4 noatime,barrier=0,data=writeback,commit=100 0 2
/dev/sdd /cache2 ext4 noatime,barrier=0,data=writeback,commit=100 0 2
/dev/sde /cache3 ext4 noatime,barrier=0,data=writeback,commit=100 0 2
[root@squid /]#
wish it help
[root@squid /]# du -sh /
du: cannot access `/proc/15396/task/15396/fd/4': No such file or directory
du: cannot access `/proc/15396/task/15396/fdinfo/4': No such file or directory
du: cannot access `/proc/15396/fd/4': No such file or directory
du: cannot access `/proc/15396/fdinfo/4': No such file or directory
72G /
[root@squid /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 165G 158G 0 100% /
tmpfs 16G 0 16G 0% /dev/shm
/dev/sdb 550G 16G 507G 3% /cache1
/dev/sdd 550G 16G 507G 3% /cache2
/dev/sde 550G 16G 507G 3% /cache3
[root@squid /]#
plz help
regards