... | ... | @@ -19,14 +19,14 @@ In this section we illustrate typical system usage via the DM Station GUI (see t |
|
|
In this section we list few most important DM commands that can be used from a terminal session or in scripts.
|
|
|
|
|
|
1. Create an experiment and upload data to the central storage system:
|
|
|
```
|
|
|
- ```
|
|
|
$ # Experiment name must be unique and start with a letter.
|
|
|
$ # Users can be added to experiment by specifying Beamline Scheduling System proposal id (--proposal-id option),
|
|
|
$ # or a list of users directly (--users option)
|
|
|
$ dm-lscat-upload --experiment=test-lscat-01 --data-directory=/opt/dm/test
|
|
|
```
|
|
|
1. Check status of your uploads:
|
|
|
```
|
|
|
- ```
|
|
|
$ dm-list-uploads
|
|
|
```
|
|
|
1. Start monitoring directory for new files (DAQ mode):
|
... | ... | @@ -36,17 +36,17 @@ In this section we list few most important DM commands that can be used from a t |
|
|
$ # Users can be added to experiment by specifying Beamline Scheduling System proposal id (--proposal-id option)
|
|
|
$ # or a list of users directly (--users option)
|
|
|
$ dm-lscat-daq --data-directory=/opt/dm/test --experiment=test-lscat-01 --dest-directory=daqdata --duration=1h
|
|
|
```
|
|
|
- ```
|
|
|
1. Check status of your DAQs:
|
|
|
```
|
|
|
$ dm-list-daqs
|
|
|
```
|
|
|
1. Retrieve list of your cataloged file metadata, etc. Alternative way of viewing metadata catalog is via Mongo Express application ([https://s21iddm.xray.aps.anl.gov:8182/db/dm](https://s21iddm.xray.aps.anl.gov:8182/db/dm)).
|
|
|
```
|
|
|
- ```
|
|
|
$ dm-list-experiment-files --experiment=test-lscat-01
|
|
|
```
|
|
|
1. Add or remove users associated with your experiment.
|
|
|
```
|
|
|
- ```
|
|
|
$ # Use d<badge> when specifying usernames
|
|
|
$ dm-add-user-experiment-role --username=d225159 --experiment=test-lscat-01 --role=User
|
|
|
$ dm-delete-user-experiment-role --username=d225159 --experiment=test-lscat-01 --role=User
|
... | ... | |