john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Disk usage graphical cmdline du max depth sorted

du --block-size=MiB --max-depth=1 | sort -n

du -h //prints all of the sub directories sizes, the last line "." is the total size du * -h //prints all of the files sizes (in human readable) du -h /directoryname //prints a specific directory's usage

du -ch | grep total //one line with the total size of the directory du -ah | sort -n //sorted numerically

df -h -T //prints the current usage of disks (in human readable)

sudo apt-get install baobab //graphical visualization of file usage boabab //run it from the command line but in the menu it may be "Disk Usage Analyzer"


linux-disk-quotas

http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/admin-primer/s1-storage-quotas.html

Using the text editor of your choice, simply add the usrquota and/or grpquota options to the file systems that require quotas:

/dev/md0 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/md1 swap swap defaults 0 0


  • « time date system properties
  • cherokee web server django »

Published

Nov 22, 2012

Category

linux

~161 words

Tags

  • cmdline 4
  • depth 1
  • disk 5
  • du 2
  • graphical 1
  • linux 249
  • max 3
  • sorted 2
  • usage 3