[araim1@tara-fe1 data]$ pwd /home/araim1/nagaraj_common/data [araim1@tara-fe1 data]$ ls -lh total 770M -rw-r----- 1 araim1 pi_nagaraj 2.0G Oct 11 2010 train.dat [araim1@tara-fe1 data]$ du -h train.dat 770M train.dat
[araim1@tara-fe1 ~]$ topdu
[araim1@tara-fe1 ~]$ topdu (May take some time to compute space usage) The 10 largest files or directories (in KB) under /home/araim1/ 24080 /home/araim1/.idl 14812 /home/araim1/userEstimates.txt 6448 /home/araim1/texmf.bak.tar.gz 4252 /home/araim1/beamer-3-10.tar 4244 /home/araim1/tmp 3928 /home/araim1/r-workshop 3220 /home/araim1/.matlab 2220 /home/araim1/beamer 1448 /home/araim1/out.pdf 1332 /home/araim1/2669851.pdf
[araim1@tara-fe1 ~]$ topdu -h Usage: topdu [-n <TOPN>] [-q] [<DIRNAME1>] [<DIRNAME2>] ... Display the TOPN largest files in DIRNAME1, ... DIRNAMEk Default TOPN is 10 If no DIRNAMEs specified, default is to use current working directory -q suppresses any extra output
[araim1@tara-fe1 ~]$ topdu -n 5 -q ~/ ~/nagaraj_user/ 24080 /home/araim1/.idl 14812 /home/araim1/userEstimates.txt 6448 /home/araim1/texmf.bak.tar.gz 4252 /home/araim1/beamer-3-10.tar 4244 /home/araim1/tmp 207119 /home/araim1/nagaraj_user/work 170720 /home/araim1/nagaraj_user/doc 129705 /home/araim1/nagaraj_user/petsc-2.3.3-p15 112629 /home/araim1/nagaraj_user/mpich2 109396 /home/araim1/nagaraj_user/project
[araim1@tara-fe1 ~]$ alias top15='topdu -n 5 /home/araim1' [araim1@tara-fe1 ~]$ top15 (May take some time to compute space usage) The 15 largest files or directories (in KB) under /home/araim1/ 24080 /home/araim1/.idl 14812 /home/araim1/userEstimates.txt 6448 /home/araim1/texmf.bak.tar.gz 4252 /home/araim1/beamer-3-10.tar 4244 /home/araim1/tmp