Skip to content

Commit 168be45

Browse files
committed
docs: add README.md
1 parent a2f313b commit 168be45

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

infra/aggregation_mode/README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,38 @@
22

33
## Setup on Server with GPU
44

5+
To setup the server with GPU, follow the steps in [aggregation_mode.sh](aggregation_mode.sh).
6+
7+
After running all the steps, `aggregation_mode.timer` will execute every 24hs the `aggregation_mode.service`
8+
9+
## Check Service Status
10+
11+
To check the status of the timer, run:
12+
13+
```bash
14+
systemctl status aggregation_mode.timer --user
15+
```
16+
17+
To check the status of the service, run:
18+
19+
```bash
20+
systemctl status aggregation_mode.service --user
21+
```
22+
23+
## Start Service manually
24+
25+
If you need to start the service manually, without waiting for the timer, run:
26+
27+
```bash
28+
systemctl start aggregation_mode.service --user
29+
```
30+
31+
## Check Logs
32+
33+
To check the logs of the service, run:
34+
35+
```bash
36+
journalctl -xfeu aggregation_mode.service --user
37+
```
38+
39+
Note: You can add `-n <n_of_lines>` to limit the number of lines to show.

0 commit comments

Comments
 (0)