Difference between revisions of "Useful commands"

From HPC
Line 7: Line 7:
 
<pre>
 
<pre>
 
username@launch:~> quota -s
 
username@launch:~> quota -s
Disk quotas for username:
+
Disk quotas for user username (uid 12345678):
     Filesystem       blocks  quota  limit  grace  files  quota  limit  grace
+
     Filesystem   blocks  quota  limit  grace  files  quota  limit  grace
/dev/mapper/vg0-home    5279M  1024G  1100G            3927      0      0
+
storage0.hpc:/home/ 5279M  1024G  1100G            3927      0      0
 
</pre>
 
</pre>
  

Revision as of 11:21, 30 January 2014

Quota

Each user is given a disk quota of 1TB as a precaution against filling the disks with a runaway job before anybody notices. This does not mean that you should attempt to fill the quota or store old data on the cluster. Please try to regularly remove old, unused data.

Check how much of your quota you've used with the quota -s command. The -s makes the output easier to read.

username@launch:~> quota -s
Disk quotas for user username (uid 12345678):
     Filesystem    blocks   quota   limit   grace   files   quota   limit   grace
storage0.hpc:/home/ 5279M   1024G   1100G            3927       0       0

File management

GNU Midnight Commander is a visual file manager. It's a feature rich full-screen text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell. Internal viewer and editor are included.

Start it with the mc command.

To quit, press F10, or if your SSH client doesn't like that, press ESC followed by 0. All the F-keys can be called in this way, ESC followed by the number of the F-key.