Skip to content

Commit

Permalink
Fix command examples
Browse files Browse the repository at this point in the history
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
  • Loading branch information
welteki authored and alexellis committed Aug 17, 2023
1 parent 8880650 commit da27347
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ actuated-cli runners actuated-samples
## View SSH sessions available:

```bash
actuated-cli ssh \
ssh ls
actuated-cli ssh ls
```

Hosts are ordered by the connected time.
Expand All @@ -61,29 +60,25 @@ Hosts are ordered by the connected time.
Connect to the first available session from your account:

```bash
actuated-cli ssh \
ssh connect
actuated-cli ssh connect
```

Connected to the second session in the list:

```bash
actuated-cli ssh \
ssh connect 2
actuated-cli ssh connect 2
```

Connect to a specific session by hostname:

```bash
actuated-cli ssh \
ssh connect runner1
actuated-cli ssh connect runner1
```

Connect to a specific session with a host prefix:

```bash
actuated-cli ssh \
ssh connect 6aafd
actuated-cli ssh connect 6aafd
```

## Check the logs of VMs
Expand All @@ -110,7 +105,7 @@ You can also get the logs for a specific runner by using the `--id` flag.
actuated-cli logs \
--owner actuated-samples \
--id ea5c285282620927689d90af3cfa3be2d5e2d004 \
--host server1
server1
```

## Check the logs of the actuated agent service
Expand All @@ -123,7 +118,7 @@ View VM launch times, etc.
actuated-cli agent-logs \
--owner actuated-samples \
--age 15m \
--host server1
server1
```

## Schedule a repair to re-queue jobs
Expand Down

0 comments on commit da27347

Please sign in to comment.