38,760
edits
No edit summary |
(Updating to match new version of source page) |
||
Line 48: | Line 48: | ||
Vous pourrez ainsi naviguer de manière plus agréable. | Vous pourrez ainsi naviguer de manière plus agréable. | ||
== Space and inode usage per user on cedar == | |||
On cedar, it is possible for any member of a group to run <code>diskusage_report</code> with the following options <code>--per_user</code> and <code>--all_users</code> to have a break-down usage per user. The first option displays only heavy users. In other terms, members of the group who have more files and/or occupy more space. When both options are used, the command gives the break-down usage for all members of the group. This is a handy command that helps to identify the users within a group who have more files and/or a large amount of data and ask them to better manage their data by reducing their inode usage for example. | |||
In the following example, a user '''user01''' runs the command and got the following output: | |||
<source lang="bash"> | |||
[user01@cedar1 ~]$ diskusage_report --per_user --all_users | |||
Description Space # of files | |||
/home (user user01) 109k/50G 12/500k | |||
/scratch (user user01) 4000/20T 1/1000k | |||
/project (group user01) 0/2048k 0/1025 | |||
/project (group def-professor) 9434G/10T 4062k/5000k | |||
Breakdown for project def-professor (Last update: 2023-05-02 01:03:10) | |||
User File count Size Location | |||
------------------------------------------------------------------------- | |||
user01 141567 4.00 GiB On disk | |||
user02 11926 3.74 GiB On disk | |||
user03 725383 6121.03 GiB On disk | |||
user04 4010 377.86 GiB On disk | |||
user05 1296466 262.75 GiB On disk | |||
user06 1010996 60.51 GiB On disk | |||
user07 848066 1721.33 GiB On disk | |||
user08 26516 947.23 GiB On disk | |||
Total 4064930 9510.43 GiB On disk | |||
Breakdown for nearline def-professor (Last update: 2023-05-02 01:01:30) | |||
User File count Size Location | |||
------------------------------------------------------------------------- | |||
user03 5 1197.90 GiB On disk and tape | |||
Total 5 1197.90 GiB On disk and tape | |||
</source> | |||
This group has 8 users and the above output shows clearly that at least 4 of them have a large number of files for a small amount of data: | |||
<source lang="bash"> | |||
User File count Size Location | |||
------------------------------------------------------------------------- | |||
user01 141567 4.00 GiB On disk | |||
user02 11926 3.74 GiB On disk | |||
user05 1296466 262.75 GiB On disk | |||
user06 1010996 60.51 GiB On disk | |||
</source> |