Etop (Etop v0.5.0)
A Top like implementation for Elixir Applications.
Usage
# Start with default options
ex> Etop.start()
# Temporarily pause/stop
ex> Etop.pause()
# Restart when paused
ex> Etop.start
# Start logging to an exs file
ex> Etop.start file: "/tmp/etop.exs"
# Load the current exs file
ex> data = Etop.load
# Start then change number of processes and interval between collecting results
ex> Etop.start
ex> Etop.set_opts nprocs: 15, interval: 15_000
# or
ex> Etop.start
ex> Etop.pause
ex> Etop.start nprocs: 15, interval: 15_000
# Stop Etop, killing its GenServer
ex> Etop.stop
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Load the current exs log file.
Pause a running Etop session.
Set Etop settings
Start Etop Reporting.
Get the status of the server
Stop Etop Reporting.
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
init(opts)
Callback implementation for GenServer.init/1
.
Link to this function
load()
Load the current exs log file.
Link to this function
pause()
Pause a running Etop session.
Link to this function
sanitize_info_result(info)
Link to this function
sanitize_stats(state, stats)
Link to this function
set_opts(opts)
Set Etop settings
Link to this function
start(opts \\ [])
Start Etop Reporting.
Link to this function
statistics(item)
Link to this function
status()
Get the status of the server
Link to this function
status!()
Link to this function
stop()
Stop Etop Reporting.