System monitoring tool

There are several tools.

htop is probably the one most people use. But I also like glances
And if you really want it sophisticated, not in a terminal, but as a web page with an underlying service you should look at netdata

3 Likes

glances is installed per default on all install methods for EndeavourOS, older installs may need to install python-defusedxml as it is now a dependency to run glances (brings in some security additions)

We do not have htop installed because glances is there already…
but you can choose whatever you like.

4 Likes

I installed EndeavourOS back on the April 2021 .iso and when I tried to run glances in a terminal:

[scott@endeavourOS ~]$ glances
Traceback (most recent call last):
  File "/usr/bin/glances", line 33, in <module>
    sys.exit(load_entry_point('Glances==3.2.2', 'console_scripts', 'glances')())
  File "/usr/bin/glances", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/glances/__init__.py", line 46, in <module>
    from glances.main import GlancesMain
  File "/usr/lib/python3.9/site-packages/glances/main.py", line 27, in <module>
    from glances.compat import input, disable, enable
  File "/usr/lib/python3.9/site-packages/glances/compat.py", line 48, in <module>
    from defusedxml.xmlrpc import monkey_patch
ModuleNotFoundError: No module named 'defusedxml'

So looks like your suspicions were right about python-defusexml because once I installed that, glances ran perfectly! I’ve always installed htop since it’s all I’ve never known, but glances is a worthy alternative for sure, TIL! Thanks!
Screenshot from 2021-10-08 11-47-18

2 Likes

btop seems very good :blush:

Its bpytop ported to C++ but uses little resources .
3 Likes

Thanks guys.

Glances was installed default. I also installed htop and both them. Both are great tool

1 Like

I want to advertise netdata a bit more. This thread animated me to actually check it out again and it is really cool.

sudo pacman -S netdata
sudo systemctl start netdata
load http://localhost:19999 in your browser
4 Likes

Glad you did! Just tried it, very addicting! Very cool… Thanks for sharing!

1 Like

Where can we find what additional nifty tools are installed on eos per default. I did not know about that one…

A side note - you can always do what I do and pick a custom layout for your info in conky - not quite so limited! :grin: (and it won’t overwrite your terminal).

1 Like

[ Laughs in Konsole split view ]

1 Like

It won’t overwrite EITHER of them! :grin: Or however many of them you split it to, nor will it matter what monitor you load 'em on…

Saves space too (well - it can!)
tmp-pt-cpnk

1 Like

2.39 GiB? Does Conky use that much memory?
Does it depend on how many things you are monitoring?

1 Like

I suppose it could (what with also multiple weather reposts, multiple scrolling lists going, an Astrolabe etc on the go - but I suspect in this case it is the 2 browsers, telegram-desktop, thunderbird, 3 games and vs-code that are the culprits! :grin:

The pic is just a slice of the top-right main screen conky, not a full screenshot!

Alright. So it shows the mem usage for all the currently running apps? I thought it was only conky itself using so much RAM :blush:

I read about this recently.

Supposedly even more detailed than the htop. https://htop.dev

I took a further look at it - and it might have been. After all, there are a total of 15 conky processes running at the time.

┌07:22:59 WD= [/usr/share/conkywx]
└───freebird@nest ─▶$ ps -e | grep conky | wc -l
15

and it is conceivable that conkywx got counted in there too… Can’t say as I paid it any attention before, as I have lotsa RAM, and it doesn’t hit the processor very hard (3%?) even with the 4 vertical smooth scrollers going.

1 Like

Very nice.

Perfect for monitoring my VPS’s. Just replaced the old and rather complex setup (glances+influxdb+grafana) with netdata on all machines. :star_struck:

2 Likes

I use btop++ that @zoli62 already mentioned above. It gets the job done :smiley:

whats that?

a URL :wink:

2 Likes