mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-15 10:49:27 -05:00
10 lines
314 B
JavaScript
10 lines
314 B
JavaScript
var f=require(process.env.HOME+"/thegeobird/scripts/functions.js");
|
|
require(process.env.HOME+"/thegame/scripts/data.js");
|
|
|
|
for(var id in machines)
|
|
{
|
|
var machine=machines[id];
|
|
var command="ssh -i "+machine.key+" "+machine.user+"@"+machine.ip+" \"ps aux | grep node\"";
|
|
console.log(command);
|
|
f.execso(command);
|
|
} |