etop(3erl)
πΈ NAME πΈ
Welcome, bestie to etop(3erl) β this is the Erlang Module Definition for etop π
. etop is Erlang Top, a tool for presenting information about Erlang processes similar to the information presented by top in UNIX. Slay.
β¨ DESCRIPTION β¨
Start Erlang Top with the provided scripts etop. This starts a hidden Erlang node that connects to the node to be measured. The measured node is specified with option -node. If the measured node has a different cookie than the default cookie for the user who invokes the script, the cookie must be explicitly specified with option -setcookie.
Under Windows, batch file etop.bat can be used.
When executing the etop script, configuration parameters can be specified as command-line options, for example:
etop -node testnode@myhost -setcookie MyCookie
The following configuration parameters exist for the tool, bestie:
nodeβ The measured node.- Value:
atom() - Mandatory
- Value:
setcookieβ Cookie to use for the etop node. Must be same as the cookie on the measured node.- Value:
atom()
- Value:
linesβ Number of lines (processes) to display.- Value:
integer() - Default:
10
- Value:
intervalβ Time interval (in seconds) between each update of the display.- Value:
integer() - Default:
5
- Value:
accumulateβ Iftrue, the execution time and reductions are accumulated.- Value:
boolean() - Default:
false
- Value:
sortβ Identifies what information to sort by.- Value:
runtime | reductions | memory | msg_q - Default:
runtime(reductionsiftracing=off)
- Value:
tracingβetopuses the Erlang trace facility, and thus no other tracing is possible on the measured node whileetopis running, unless this option is set tooff. Also helpful if theetoptracing causes too high load on the measured node. With tracingoff,runtimeis not measured.- Value:
on | off - Default:
on
- Value:
For details about Erlang Top, see the User's Guide.
π EXPORTS π
π
start() -> ok
Starts etop. Notice that etop is preferably started with the etop script.
π start(Options) -> ok
Types:
Options = [Option]
Option = {Key, Value}
Key = atom()
Value = term()
Starts etop. To view the possible options, use help/0.
π help() -> ok
Displays the help of etop and its options.
π₯ config(Key,Value) -> Result
Types:
Result = ok | {error,Reason}
Key = lines | interval | accumulate | sort
Value = term()
Changes the configuration parameters of the tool during runtime. Allowed parameters are lines, interval, accumulate, and sort.
π¦ dump(File) -> Result
Types:
Result = ok | {error,Reason}
File = string()
Dumps the current display to a text file.
π stop() -> stop
Terminates etop.
π Signed off by Ericsson AB Β· observer 2.14 Β· etop(3erl) Β· undated footer, periodt π
π¦ where this page comes from
- debian bookworm: erlang-manpages 1:25.2.3+dfsg-1+deb12u1 Β· Apache-2.0
- debian bookworm: erlang-manpages 1:25.2.3+dfsg-1+deb12u4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms