Add monitoring helper for mtdi and galaxy migrate
Add a small monitoring helper script for logging CPU and memory usage for mtdi-daemon and galaxy-migrate. Also update the cdssync workspace instructions to document how to use the monitoring helper.
This commit is contained in:
@@ -32,6 +32,15 @@ For migration test datasets in this workspace, follow this process by default:
|
||||
- `acl` installed for `setfacl` and `getfacl`
|
||||
- `attr` installed for `setfattr` and `getfattr`
|
||||
|
||||
## Monitoring Helper
|
||||
|
||||
- Use `/home/aw/code/cds/cdssync/monitor_mtdi_galaxy.sh` when the user wants CPU and memory logging for `mtdi-daemon` and `galaxy-migrate`.
|
||||
- The script accepts:
|
||||
- `INTERVAL_SECONDS`, default `10`
|
||||
- `LOG_FILE`, default `/root/monitor_mtdi_galaxy.log`
|
||||
- A common remote run pattern is:
|
||||
- `nohup /root/monitor_mtdi_galaxy.sh 10 /root/monitor_mtdi_galaxy.log >/dev/null 2>&1 </dev/null &`
|
||||
|
||||
## Copy Rules
|
||||
|
||||
- Use `rsync -aHAX` by default when copying the dataset to another machine.
|
||||
|
||||
Reference in New Issue
Block a user