Skip to content

Commit

Permalink
Update regional instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
grantfitzsimmons committed Jan 21, 2025
1 parent 5773a90 commit 657db25
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions sphinx/server_management/check_asset_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@

On the `assets1.specifycloud.org` instance, we host and manage most[^1] assets for hosted Specify Cloud users.

To see the space used by all current asset directories, you can log into the VPS as `root` and run the following alias:
To see the space used by all current asset directories, you can log into the VPS as your user and run the command:

Europe:
```bash
usage
du -sh * /home/specify/s3_attachments/eu
```

This is defined in the `~/.bash_aliases` file, but it essentially runs this command:
Canada:
```bash
du -sh * /home/specify/attachments
du -sh * /home/specify/s3_attachments/ca
```

North America:
```bash
du -sh * /home/specify/s3_attachments/na
```

This can be adjusted and used elsewhere when needed. You can use `du -sh *` to effectively summarize the space used by a set of directories.

[^1]: Some regions (including Swiss instances via Exoscale, KU collections on KUBI managed VMs) manage assets independently.
[^1]: Some regions (including Swiss instances via Exoscale, KU collections on KUBI managed VMs) manage assets independently. Brazil has its own asset server running in that region as well.

0 comments on commit 657db25

Please sign in to comment.