User Tools

Site Tools


techstaff:quota

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
techstaff:quota [2016/04/22 16:13] kauffmantechstaff:quota [2019/09/13 10:37] (current) kauffman
Line 18: Line 18:
 ^ limit | Hard limit works only when grace period is set. It specifies the absolute limit on the disk usage, which a quota user can't go beyond his hard limit. | ^ limit | Hard limit works only when grace period is set. It specifies the absolute limit on the disk usage, which a quota user can't go beyond his hard limit. |
 ^ grace | The time limit before the soft limit is enforced. | ^ grace | The time limit before the soft limit is enforced. |
 +
 +
 +===== Ok my quota is full. How do figure out what is using all the disk space =====
 +The command ''%%du%%''. Move along.
 +
 +
 +> "Ok but for real I don't have time to read the man page right now. I need to get my homework done!"
 +
 +
 +<code>
 +$ du -csh $HOME/* $HOME/.??* | sort -h | tail
 +4.0K    /home/user/.keras
 +4.0K    /home/user/.lesshst
 +4.0K    /home/user/.python_history
 +8.0K    /home/user/.compiz
 +136K    /home/user/.config
 +83M     /home/user/.gem
 +87M     /home/user/.cache
 +141M    /home/user/distro
 +320M    /home/user/.local
 +631M    total
 +</code>
 +
 +
 +
 +^ du -csh | Calculate file and directory usage. (**c**) Show total ; (**s**) recurses down to calculate, but only shows total for input arguments(files or directories) ; (**h**) human readable file size; |
 +^ $HOME/* | All files, no dot files |
 +^ $HOME/.??* | All files that start with a dot(.) and have at least two characters |
 +^ sort -h | sort the input by human readable file size |
 +^ tail | Only show me the last 10 lines |
 +
 +
 +===== Networked vs Local Storage =====
 +If you are working with larger datasets we do not recommend you store these in your home directory. Please create yourself a folder in /local on whatever machine you have access to and put your data there.
 +
 +Generally, your home directory is not going to be great to use for any heavy read and write application. 
 +
 +    $ mkdir /local/$USER
 +
 +
/var/lib/dokuwiki/data/attic/techstaff/quota.1461359624.txt.gz · Last modified: 2016/04/22 16:13 by kauffman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki