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.3.1

Elixir

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

How-To

Try in local shell.

%% rebar3 project
rebar3 shell
1> observer_cli:start().
%% mix project
iex -S mix
iex(1)> :observer_cli.start

Monitor remote node

%% rebar3 project
rebar3 shell --name 'observer_cli@127.0.0.1'
1> observer_cli:start('target@host', 'magic_cookie').
%% mix project
iex --name "observer_cli@127.0.0.1" -S mix
iex(1)> :observer_cli.start(:'target@host', :'magic_cookie')

:exclamation: ensure observer_cli application been loaded on target node.

Escriptize

  1. cd path/to/observer_cli/
  2. 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.
  3. observer_cli TARGETNODE [TARGETCOOKIE] to monitor remote node.

GUI

HomeNetworkSystemEtsMnesiaApplicationDocumentProcessPort

TODO


Changelog


Contributors

<img src=”https://avatars2.githubusercontent.com/u/3116225?v=4” width=”50px;”/><br /><sub>zhongwencool</sub><br />💻<img src=”https://avatars2.githubusercontent.com/u/645514?v=4” width=”50px;”/><br /><sub>Dimitrios Zorbas</sub><br />💻<img src=”https://avatars1.githubusercontent.com/u/3191073?v=4” width=”50px;”/><br /><sub>taotao</sub><br />💻<img src=”https://avatars1.githubusercontent.com/u/1520926?v=4” width=”50px;”/><br /><sub>Trevor Brown</sub><br />💻<img src=”https://avatars3.githubusercontent.com/u/164324?s=400&v=4” width=”50px;”/><br /><sub>Zaiming Shi</sub><br />💻

License

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