mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 10:33:47 -05:00
10 lines
323 B
JavaScript
10 lines
323 B
JavaScript
var path=require("path"),f=require(path.resolve(__dirname, "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);
|
|
} |