observer_cli

Github TagBuild StatuslicenseHex.pmHex.pm Downloads

Visualize Erlang/Elixir Nodes On The Command Line base on recon.

Goal


Installation

Erlang

%% rebar.config
{deps, [observer_cli]}
%% erlang.mk
dep_observer_cli = hex 1.2.0

Elixir

# mix.exs                                                                                                   
   def deps do                                                          
     [{:observer_cli, "~> 1.2"}]                                    
   end
   def application do
     [applications: [:observer_cli]]
  end

How-To

Try in local shell.

$ rebar3 shell
1> observer_cli:start().

Monitor remote node

$ rebar3 shell --name 'observer_cli@127.0.0.1'
1> observer_cli:start('target@host', 'magic_cookie').

Escriptize

  1. rebar3 escriptize to generate an escript executable containing the project's and its dependencies' BEAM files.

    Place script(_build/default/bin/observer_cli) anywhere in your path and use observer_cli command.

  2. observer_cli <TARGETNODE> <TARGETCOOKIE> to monitor remote node.

    :exclamation: ensure observer_cli application start on target node.


GUI


TODO


Changelog


License

See the LICENSE file for license rights and limitations (MIT).