Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

REQ: Glances - CLI curses based monitoring tool

Featured Replies

I'd like to get Glances running on unRAID, see home page for screen shots and info:

 

https://github.com/nicolargo/glances

 

It has the following Pre-requisites:

 

    Python 2.6+ (not tested with Python 3+)

    build-essential (for installation via Pypi and setup.py)

    python-dev (for installation via Pypi)

    python-setuptools (for the installation via setup.py)

    python-psutil 0.4.1+ (replace the old libstatgrab's lib)

    python-jinja2 2.0+ (optional for HTML export)

 

Naturally, python setup.py install failed, with this message:

 

Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    from setuptools import setup
ImportError: No module named setuptools

 

Is there anyone who's interested in creating a package of Glances? Or direct me how to install those pre-requisities?

 

You need to install setuptools

 

wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
./setuptools-0.6c11-py2.6.egg

 

The rest, I'm not sure about.

as one with ZERO programming skills, this would be a brilliant tool to have..

 

good luck..

 

 

Out of the prerequisites you listed python-dev is not needed, and python-psutil is actually downloaded by the setup/install script. The main issue is finding out what aspects of build-essentials is needed as slackware doesn't have a build-essentials package, mainly due to the fact that a stock slackware install includes all programs needed to compile, other standard linux distro's often do not(and subsequently a build-essentials package is usually made).

 

Also as stated, Python-jinja2 is optional, and unless you run a webserver from your unraid would be almost useless from a practical standpoint.

 

It looks very similar to htop, which has pretty much everything glances does aside from the network i/o information.

I installed it with just the 2 files listed above and the unmenu GCC package and it works great.  Never used htop, but the coloring is nice, warns of excessive in progressive colors, green, yellow, red etc.

 

Myk

 

I installed it with just the 2 files listed above and the unmenu GCC package and it works great.  Never used htop, but the coloring is nice, warns of excessive in progressive colors, green, yellow, red etc.

 

Myk

 

Never used the unmenu package, good, looks like we do have a build-essentials package, :)

@MyKroFt/TCS

 

Can you post what you did to get it installed

Shot

Downloaded glances and setuptools from links above.

 

unMenu is already installed, install the GCC package

 

chmod +x setuptools-0.6c11-py2.6.egg

./setuptools-0.6c11-py2.6.egg

unzip nicolargo-glances-v1.4.1.1-28-gb5d68b1.zip

cd nicolargo-glances-b5d68b1

python setup.py install

 

then just 'glances' from a terminal

 

the above 5 steps will need to be redone after every boot as glances is installed to ram and lost

 

also making the gcc unmenu package auto install every boot takes alot of the ram drive as well as it is not needed except to compile/install the setuptools

 

Myk

 

 

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.