pyrater Posted January 27, 2014 Share Posted January 27, 2014 Does anyone know of anybody that has gotten glances to work for unraid? Just by looking at the picture below you can see how this would be awesome for unraid.... I tried to install/build it from source but had some major issues with dep missing files. ref: https://github.com/nicolargo/glances Quote Link to comment
pyrater Posted January 27, 2014 Author Share Posted January 27, 2014 root@Icarus:/tmp/nicolargo-glances-d8f76cb# wget http://www.slackware.com/~alien/slackbuilds/python-psutil/pkg/current/python-psutil-0.6.1-i486-1alien.tgz --2014-01-26 21:03:04-- http://www.slackware.com/~alien/slackbuilds/python-psutil/pkg/current/python-psutil-0.6.1-i486-1alien.tgz Resolving www.slackware.com (www.slackware.com)... 67.131.104.138, 67.131.104.139 Connecting to www.slackware.com (www.slackware.com)|67.131.104.138|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 101646 (99K) [application/x-gzip] Saving to: `python-psutil-0.6.1-i486-1alien.tgz' 100%[=================================================================================================================>] 101,646 177K/s in 0.6s 2014-01-26 21:03:05 (177 KB/s) - `python-psutil-0.6.1-i486-1alien.tgz' saved [101646/101646] root@Icarus:/tmp/nicolargo-glances-d8f76cb# installpkg python-psutil-0.6.1-i486-1alien.tgz Verifying package python-psutil-0.6.1-i486-1alien.tgz. Installing package python-psutil-0.6.1-i486-1alien.tgz: PACKAGE DESCRIPTION: # python-psutil (cross-platform system utilities module for python) # psutil is a module providing an interface for retrieving # information on all running processes and system utilization # (CPU, memory, disks, network, users) in a portable way by using # Python, implementing many functionalities offered by command # line tools such as: ps, top, df, kill, free and more. # # python-psutil home: http://code.google.com/p/psutil/ # Package python-psutil-0.6.1-i486-1alien.tgz installed. root@Icarus:/tmp/nicolargo-glances-d8f76cb# glances PsUtil module not found. Glances cannot start. root@Icarus:/tmp/nicolargo-glances-d8f76cb# Quote Link to comment
ironicbadger Posted January 27, 2014 Share Posted January 27, 2014 I just installed this in Arch, it's very useful. Thank you! Sorry, I can't help you in unRAID though. Quote Link to comment
ironicbadger Posted January 27, 2014 Share Posted January 27, 2014 http://lime-technology.com/forum/index.php?topic=22639.msg201064#msg201064 it would seem it's already been done. Quote Link to comment
pyrater Posted January 27, 2014 Author Share Posted January 27, 2014 root@Icarus:/tmp/nicolargo-glances-d8f76cb# ls AUTHORS conf/ psutil-1.1.1.tar.gz COPYING dist/ python-psutil-0.6.1-i486-1alien.tgz Glances.egg-info/ docs/ python-psutil-0.6.1-i486-1alien.tgz.1 MANIFEST.in glances/ requirements.txt NEWS i18n/ setup.py* README.rst i18n-gen.sh* uninstall.sh* TODO man/ build/ psutil-1.1.1/ root@Icarus:/tmp/nicolargo-glances-d8f76cb# python setup.py install running install running bdist_egg running egg_info writing requirements to Glances.egg-info/requires.txt writing Glances.egg-info/PKG-INFO writing top-level names to Glances.egg-info/top_level.txt writing dependency_links to Glances.egg-info/dependency_links.txt writing entry points to Glances.egg-info/entry_points.txt reading manifest file 'Glances.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'Glances.egg-info/SOURCES.txt' installing library code to build/bdist.linux-i686/egg running install_lib running build_py creating build/bdist.linux-i686/egg creating build/bdist.linux-i686/egg/glances creating build/bdist.linux-i686/egg/glances/data creating build/bdist.linux-i686/egg/glances/data/img copying build/lib/glances/data/img/bg.png -> build/bdist.linux-i686/egg/glances/data/img creating build/bdist.linux-i686/egg/glances/data/html copying build/lib/glances/data/html/default.html -> build/bdist.linux-i686/egg/glances/data/html copying build/lib/glances/data/html/base.html -> build/bdist.linux-i686/egg/glances/data/html creating build/bdist.linux-i686/egg/glances/data/css copying build/lib/glances/data/css/default.css -> build/bdist.linux-i686/egg/glances/data/css copying build/lib/glances/__init__.py -> build/bdist.linux-i686/egg/glances copying build/lib/glances/glances.py -> build/bdist.linux-i686/egg/glances byte-compiling build/bdist.linux-i686/egg/glances/__init__.py to __init__.pyc byte-compiling build/bdist.linux-i686/egg/glances/glances.py to glances.pyc installing package data to build/bdist.linux-i686/egg running install_data creating build/bdist.linux-i686/egg/share creating build/bdist.linux-i686/egg/share/doc creating build/bdist.linux-i686/egg/share/doc/glances copying AUTHORS -> build/bdist.linux-i686/egg/share/doc/glances copying COPYING -> build/bdist.linux-i686/egg/share/doc/glances copying NEWS -> build/bdist.linux-i686/egg/share/doc/glances copying README.rst -> build/bdist.linux-i686/egg/share/doc/glances copying conf/glances.conf -> build/bdist.linux-i686/egg/share/doc/glances copying docs/glances-doc.html -> build/bdist.linux-i686/egg/share/doc/glances creating build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/sensors.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/screenshot.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/screenshot-wide.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/processlist.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/processlist-wide.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/per-cpu.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/network.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/monitored.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/mem.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/mem-wide.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/logs.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/load.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/header.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/hddtemp.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/glances-white-256.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/fs.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/footer.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/diskio.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/cpu.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/cpu-wide.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/client-disconnected.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/client-connected.png -> build/bdist.linux-i686/egg/share/doc/glances/images copying docs/images/battery.png -> build/bdist.linux-i686/egg/share/doc/glances/images creating build/bdist.linux-i686/egg/share/man creating build/bdist.linux-i686/egg/share/man/man1 copying man/glances.1 -> build/bdist.linux-i686/egg/share/man/man1 creating build/bdist.linux-i686/egg/share/locale creating build/bdist.linux-i686/egg/share/locale/zh_CN creating build/bdist.linux-i686/egg/share/locale/zh_CN/LC_MESSAGES copying i18n/zh_CN/LC_MESSAGES/glances.mo -> build/bdist.linux-i686/egg/share/locale/zh_CN/LC_MESSAGES creating build/bdist.linux-i686/egg/share/locale/pt_BR creating build/bdist.linux-i686/egg/share/locale/pt_BR/LC_MESSAGES copying i18n/pt_BR/LC_MESSAGES/glances.mo -> build/bdist.linux-i686/egg/share/locale/pt_BR/LC_MESSAGES creating build/bdist.linux-i686/egg/share/locale/it creating build/bdist.linux-i686/egg/share/locale/it/LC_MESSAGES copying i18n/it/LC_MESSAGES/glances.mo -> build/bdist.linux-i686/egg/share/locale/it/LC_MESSAGES creating build/bdist.linux-i686/egg/share/locale/fr creating build/bdist.linux-i686/egg/share/locale/fr/LC_MESSAGES copying i18n/fr/LC_MESSAGES/glances.mo -> build/bdist.linux-i686/egg/share/locale/fr/LC_MESSAGES creating build/bdist.linux-i686/egg/share/locale/es creating build/bdist.linux-i686/egg/share/locale/es/LC_MESSAGES copying i18n/es/LC_MESSAGES/glances.mo -> build/bdist.linux-i686/egg/share/locale/es/LC_MESSAGES creating build/bdist.linux-i686/egg/share/locale/de creating build/bdist.linux-i686/egg/share/locale/de/LC_MESSAGES copying i18n/de/LC_MESSAGES/glances.mo -> build/bdist.linux-i686/egg/share/locale/de/LC_MESSAGES creating build/bdist.linux-i686/egg/EGG-INFO copying Glances.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO copying Glances.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO copying Glances.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO copying Glances.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO copying Glances.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-INFO copying Glances.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... glances.glances: module references __file__ creating 'dist/Glances-1.7.4-py2.6.egg' and adding 'build/bdist.linux-i686/egg' to it removing 'build/bdist.linux-i686/egg' (and everything under it) Processing Glances-1.7.4-py2.6.egg removing '/usr/lib/python2.6/site-packages/Glances-1.7.4-py2.6.egg' (and everything under it) creating /usr/lib/python2.6/site-packages/Glances-1.7.4-py2.6.egg Extracting Glances-1.7.4-py2.6.egg to /usr/lib/python2.6/site-packages Glances 1.7.4 is already the active version in easy-install.pth Installing glances script to /usr/bin Installed /usr/lib/python2.6/site-packages/Glances-1.7.4-py2.6.egg Processing dependencies for Glances==1.7.4 Searching for psutil==0.6.1 Best match: psutil 0.6.1 Adding psutil 0.6.1 to easy-install.pth file Using /usr/lib/python2.6/site-packages Finished processing dependencies for Glances==1.7.4 root@Icarus:/tmp/nicolargo-glances-d8f76cb# glances PsUtil module not found. Glances cannot start. Any gurus have any ideas? Quote Link to comment
nicinabox Posted January 28, 2014 Share Posted January 28, 2014 Assuming python <3.0 Install ncurses (if using trolley, just `trolley install ncurses`) # Install pip curl -k https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python # Use pip to install Glances pip install glances I get this error when running glances though: NotImplementedError: couldn't find /proc/1/io (kernel too old?) Quote Link to comment
nicinabox Posted February 12, 2014 Share Posted February 12, 2014 Looked more into this. It seems that the kernel would need to be built with support for process i/o stats in order for this to work. Quote Link to comment
jowi Posted February 12, 2014 Share Posted February 12, 2014 This should be part of a webgui. Not a console. Consoles are so 1960's Quote Link to comment
starcat Posted February 12, 2014 Share Posted February 12, 2014 You can access the console anytime vie the KVM or build-in IPMI :-) Quote Link to comment
nicinabox Posted February 12, 2014 Share Posted February 12, 2014 This should be part of a webgui. Not a console. Consoles are so 1960's Not sure if trolling or sarcastic. Quote Link to comment
Donovan Posted February 17, 2014 Share Posted February 17, 2014 This should be part of a webgui. Not a console. Consoles are so 1960's You are free to spend the better part of a year, in your spare time, re-inventing the wheel to make this work nicely as a webGUI plugin. ...Dono Quote Link to comment
jbartlett Posted June 5, 2014 Share Posted June 5, 2014 I've been working on a set of bash script files which does this and a lot of other neat crap such as VM monitoring, drive health checks, streaming files, etc. I'm writing it so each display section is basically a plugin to allow people to add in stuff they want or remove stuff they don't want. Then I'll create a front-end page for the UNRAID GUI to also display the info. Quote Link to comment
pyrater Posted June 5, 2014 Author Share Posted June 5, 2014 can we get a preview? Quote Link to comment
jbartlett Posted June 5, 2014 Share Posted June 5, 2014 can we get a preview? So far, I have plugins for CPU, Network, Streaming files, parity monitoring, UNRAID & SMART drive status, and XenTop Memory & Network utilization. Background tasks are created to perform the different monitoring and results are written to files on /tmp and a monitoring front end for display. These plugins are near completion but I can't provide a preview just yet, mainly because they all display the information in the same location on the screen and I need to work on arranging them in a 80x25 layout. Just needs polish. The XenTop plugin will likely be "disabled" or removed from release depending on if Tom removes Xen in favor of KVM. Oh, I still need to research how to invoke background tasks. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.