Skip to content

Commit

Permalink
updating gh-pages repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsin Yuan Yeh authored and Hsin Yuan Yeh committed Nov 4, 2023
1 parent d45c178 commit 3c894b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/examples/ex-ping.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Server group A has members A1, A2, ..., A10, which share the same database serve
You want to regularly check the connection states from group A to B.
This example shows how to connect to all servers in group A and execute the "ping" command to database server B.

![image](ex-ping.png)

```
## filename: example-ping.spy
databaseServer = '192.168.1.100'
Expand All @@ -29,8 +31,6 @@ for account,password in group:
states[account] = time / received if received else 0
```

![image](ex-ping.png)

#### Executing
```
$sshscript example-ping.spy
Expand Down

0 comments on commit 3c894b6

Please sign in to comment.