We have support for that in our FUEL package for emacs. Probably it could
be factored (ahem) out, but this is how you can do it, starting on port
9000:
IN: scratchpad USE: fuel.remote
IN: scratchpad 9000 fuel-start-remote-listener
Then somewhere else:
$ telnet machine 9000
On Thu, Oct 1, 2015 at 7:46 AM, HP wei <[email protected]> wrote:
> The objective:
> we have several linux machines that I need to check on certain
> status (--- disks, update-jobs etc).
> My plan is, if feasible, to run a remote factor-listener on each of
> those
> machines and run a 'master' factor on a machine that collects all info
> and presents issues on a gui-window.
>
> On the master machine, if I find an issue that needs to be addressed
> on machine-A, I will need to issue a command from the master
> machine gui-window and that command shall be send to machine-A to be
> executed. [ The command may be a linux system commad
> or a custom command written by C++
> or perhaps something written by factor, if
> appropriate. ]
>
> e.g. initially,
> I will have a word called 'check-disks'.
> And the master can send the word over tcp to each of those machines
> and collect report.
>
> Eventually, each machine will do the checking regularly and send
> issues back to the master.
>
> ----------------------------------------
>
> The first step appears to be learning how to set up a remote listener over
> tcp
> and talk to it from a master machine.
>
> Could you please direct me to a place where someone has written something
> about
> how to this in factor ?? A working example will be nice.
>
> thanks
> HP
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk