From 657db25252969855735950b517e79f5049995be5 Mon Sep 17 00:00:00 2001 From: Grant Fitzsimmons <37256050+grantfitzsimmons@users.noreply.github.com> Date: Tue, 21 Jan 2025 13:25:19 -0600 Subject: [PATCH] Update regional instructions --- sphinx/server_management/check_asset_usage.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/sphinx/server_management/check_asset_usage.md b/sphinx/server_management/check_asset_usage.md index 623a0e5..0851eae 100644 --- a/sphinx/server_management/check_asset_usage.md +++ b/sphinx/server_management/check_asset_usage.md @@ -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. \ No newline at end of file +[^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. \ No newline at end of file