You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This also contains various commits I found in other places which seemed
useful. I updated the README to reflect where the escript is built.
The shell script is no longer necessary so was removed.
Copy file name to clipboardExpand all lines: README.md
+17-16
Original file line number
Diff line number
Diff line change
@@ -3,45 +3,46 @@ A top-like Erlang node monitoring tool
3
3
4
4
5
5
## Introduction
6
-
Entop is a tool which shows information about a remote Erlang node in a way which is similar to unix 'top'.
6
+
Entop is a tool which shows information about a remote Erlang node in a way which is similar to unix 'top'.
7
7
8
-
For entop to run it needs `cecho 0.3.0` or higher for pre-R15 or `cecho 0.4.0` or higher for R15 and above
8
+
For entop to run it needs `cecho 0.5.1` or higher
9
9
(http://www.github.com/mazenharake/cecho).
10
10
11
11
## Compile
12
12
To clean/compile run
13
13
14
-
./rebar clean
15
-
./rebar compile
14
+
./rebar3 clean
15
+
./rebar3 escriptize
16
16
17
-
NOTE: If you have problems with dependencies to `cecho` then create a symlink to cecho in `deps/` (if you already have cecho somewhere) or run `./rebar get-deps`to download the latest version. Don't forget to recompile if you get the dependencies through rebar.
17
+
A relocatable escript named 'entop' is now in '_build/default/bin/entop', you can copy that to your path somewhere.
18
18
19
19
## Usage
20
-
To run entop make sure you have Erlang installed and that the cecho library (http://www.github.com/mazenharake/cecho) is available in your Erlang code path. The start script assumes that you run it inside the entop application root directory, if you don't want that then change the paths in the scripts accordingly or just make sure you have the ebin/ directory for entop in your Erlang code path. Look at the start script for more details.
20
+
To run entop make sure you have Erlang installed and that the escript is in your path.
entop's interface can be customized so this section only applies for the "built-in" interface.
30
30
31
31
#### Headers
32
-
**First row** shows information about the node which is more or less static such as the node name the operating system, erl flags and erlang version it is running.
33
-
**The second** row shows information on what the local time is (according to the node), how long it has been up for (Days:Hours:Minutes:Seconds) and how much latency there is to the node I.e. how long a net_adm:ping() takes.
34
-
**Third row** shows information about the processes of the system; the total number of processes, the run queue (number of processes scheduled to run by the scheduler(s)), the reductions per interval (RpI) which shows how many reductions the system has made since it last called the node and how much memory the processes are using.
35
-
**Fourth row** shows how much system memory, atom memory (currently used/total allocated), binary memory, code memory and ets memory.
36
-
**Fifth row** is left blank and is reserved for now.
37
-
**Sixth row** shows information about the rows in the list such as the interval in which the information is fetched, what the list is sorted on and how long it took to retrieve the information.
32
+
**First row** shows information about the node which is more or less static such as the node name the operating system, erl flags and erlang version it is running.
33
+
**Second row** shows information on what the local time is (according to the node), how long it has been up for (Days:Hours:Minutes:Seconds) and how much latency there is to the node I.e. how long a net_adm:ping() takes.
34
+
**Third row** shows information about the processes of the system; the total number of processes, the run queue (number of processes scheduled to run by the scheduler(s)), the reductions per interval (RpI) which shows how many reductions the system has made since it last called the node.
35
+
**Fourth row** shows how much process memory is being used and the total amount.
36
+
**Fifth row** shows how much system memory, atom memory (currently used/total allocated), binary memory, code memory and ets memory.
37
+
**Sixth row** is left blank and is reserved for now.
38
+
**Seventh row** shows information about the rows in the list such as the interval in which the information is fetched, what the list is sorted on and how long it took to retrieve the information.
38
39
39
40
### Commands when running entop:
40
41
41
-
[1-N]:
42
+
[1-N]:
42
43
Sort on column number 1 through N. Starts with first column (1) and up to N
43
44
where N is the last column.
44
-
45
+
45
46
r:
46
47
Toggles the sorting order from ascending to descending and vice versa.
0 commit comments