2019-05-14 03:24:29 +00:00
|
|
|
variables:
|
|
|
|
PGPASSWORD: fred
|
|
|
|
mongoconnection: mongo --quiet --host=localhost blog
|
|
|
|
mysqlconnection: mysql -u root -s --database mysql --skip-column-names
|
|
|
|
neo4jconnection: cypher-shell -u neo4j -p 121314 --format plain
|
|
|
|
postgresconnection: psql -h localhost -U postgres --no-align --tuples-only
|
|
|
|
sshconnection: ssh -i ~/sqshq.pem ec2-user@3.215.108.82
|
|
|
|
textboxes:
|
|
|
|
- title: Neo4j
|
2019-05-31 03:01:43 +00:00
|
|
|
position: [[0, 0], [10, 40]]
|
2019-05-14 03:24:29 +00:00
|
|
|
init: $neo4jconnection
|
2019-05-31 03:01:43 +00:00
|
|
|
sample: RETURN rand();
|
2019-05-14 03:24:29 +00:00
|
|
|
transform: echo "$sample" | tail -n 1
|
|
|
|
- title: Postgres
|
2019-05-31 03:01:43 +00:00
|
|
|
position: [[10, 0], [9, 40]]
|
2019-05-14 03:24:29 +00:00
|
|
|
init: $postgresconnection
|
|
|
|
sample: select random();
|
|
|
|
- title: MySQL
|
2019-05-31 03:01:43 +00:00
|
|
|
position: [[19, 0], [10, 40]]
|
2019-05-14 03:24:29 +00:00
|
|
|
init: $mysqlconnection
|
|
|
|
sample: select rand();
|
|
|
|
- title: MongoDB
|
2019-05-31 03:01:43 +00:00
|
|
|
position: [[29, 0], [10, 40]]
|
|
|
|
rate-ms: 500
|
2019-05-14 03:24:29 +00:00
|
|
|
init: $mongoconnection
|
2019-05-31 03:01:43 +00:00
|
|
|
sample: sleep(3000);Date.now();
|
2019-05-14 03:24:29 +00:00
|
|
|
- title: SSH
|
2019-05-31 03:01:43 +00:00
|
|
|
position: [[39, 0], [41, 40]]
|
2019-05-14 03:24:29 +00:00
|
|
|
init: $sshconnection
|
2019-05-31 03:01:43 +00:00
|
|
|
sample: top
|