Bureaucrats, cc_docs_admin, cc_staff
2,879
edits
No edit summary |
(Marked this version for translation) |
||
Line 38: | Line 38: | ||
While the command '''diskusage_report''' gives the space and inode usage per user on ''home'' and ''scratch'', it shows the total quota of the group on project. It includes all the files from each member of the group. Since the files that belong to a user could however be anywhere in the project space, it is difficult to obtain correct figures per user and per given project in case a user has access to more than one project. However, users can obtain an estimate of their space and inode use on the entire project space by running the command, | While the command '''diskusage_report''' gives the space and inode usage per user on ''home'' and ''scratch'', it shows the total quota of the group on project. It includes all the files from each member of the group. Since the files that belong to a user could however be anywhere in the project space, it is difficult to obtain correct figures per user and per given project in case a user has access to more than one project. However, users can obtain an estimate of their space and inode use on the entire project space by running the command, | ||
<!--T:26--> | |||
<code>lfs quota -u $USER /project</code> | <code>lfs quota -u $USER /project</code> | ||
<!--T:25--> | |||
In addition to that, users can obtain an estimate for the number of files in a given directory (and its sub-directories) using the command <code>lfs find</code>, e.g. | In addition to that, users can obtain an estimate for the number of files in a given directory (and its sub-directories) using the command <code>lfs find</code>, e.g. | ||
<source lang="console"> | <source lang="console"> | ||
lfs find <path to the directory> -type f | wc -l | lfs find <path to the directory> -type f | wc -l | ||
</source> | </source> | ||
== Best practices == <!--T:9--> | == Best practices == <!--T:9--> |