Commit Graph

2088 Commits (4cb61f2804412bf35bd0b0758fd44eeb747e0cf9)

Author SHA1 Message Date
Alessio Sergi 46d4b633b9 unitest: cosmetic changes 2015-09-21 16:51:20 +02:00
Alessio Sergi 837193ef7b unitest: unbreak non-Linux platforms
OK FreeBSD, OS X and Windows.
2015-09-21 15:39:39 +02:00
Alessio Sergi 168969bdf4 Revert "Infrequently crashing due to assert (issue #623)"
This reverts commit 79dc79f9f1.

See PR #683.
2015-09-21 02:12:12 +02:00
kevinlondon 2b1b80c032 Changed percentage bars to use an explicit assertion error if valid is outside of the expected range. 2015-09-21 00:59:20 +02:00
Alessio Sergi b75d921ff0 Use Python 2.6 compatible string.format calls (take 2) 2015-09-20 19:49:49 +02:00
Alessio Sergi 40c4b7ac23 exports: Python 3 compat 2015-09-20 19:21:26 +02:00
nicolargo 8c2758a8ae Correct an issue while exiting Docker sub process on Python 3.4. Correct it for both Python 2 and 3 thnaks to http://stackoverflow.com/questions/27102881/python-threading-self-stop-event-object-is-not-callable 2015-09-20 08:29:54 +02:00
nicolargo 7d4e713016 Correct an issue with Python 3.4 and monitored list issue 2015-09-20 07:55:14 +02:00
nicolargo cc2c680226 Add Potsdb lib dep 2015-09-20 07:44:27 +02:00
nicolargo a912ca8e2b Update documentation 2015-09-19 15:14:21 +02:00
Nicolargo c1ff999c09 Glances 2.5 RC1 2015-09-18 15:31:18 +02:00
Nicolargo d8ea5eed4f Change decoration for process filter sum 2015-09-18 14:13:32 +02:00
Nicolargo 40a814f894 When a process filter is set, display sum of CPU, MEM... #681 2015-09-18 11:12:52 +02:00
Nicolas Hennion 39ece09226 Merge pull request #680 from TomasTomecek/docker-containers-can-be-none2
tback: docker.containers() can return None
2015-09-16 11:02:38 +02:00
Tomas Tomecek 84af87f647 tback: docker.containers() can return None
```
Traceback (most recent call last):
  File "/usr/bin/glances", line 9, in <module>
    load_entry_point('Glances==2.3', 'console_scripts', 'glances')()
  File "/usr/lib/python2.7/site-packages/glances/__init__.py", line 119, in main
    args=core.get_args())
  File "/usr/lib/python2.7/site-packages/glances/core/glances_standalone.py", line 62, in __init__
    self.stats.update()
  File "/usr/lib/python2.7/site-packages/glances/core/glances_stats.py", line 156, in update
    self._plugins[p].update()
  File "/usr/lib/python2.7/site-packages/glances/plugins/glances_plugin.py", line 633, in wrapper
    ret = fct(*args, **kw)
  File "/usr/lib/python2.7/site-packages/glances/plugins/glances_docker.py", line 154, in update
    for c in self.stats['containers']:
TypeError: 'NoneType' object is not iterable
```
2015-09-16 09:23:39 +02:00
Nicolas Hennion 792026f41e Merge pull request #678 from nclsHart/webui-monitor-long-message
[Web UI] Truncate long message in monitor plugin
2015-09-13 21:42:25 +02:00
Nicolas Hart f23a286e51 truncate long message in webui monitor plugin 2015-09-13 20:46:06 +02:00
nicolargo 2507941951 Improve the QuickLookplugin by adding hardware CPU info (issue #673) 2015-09-13 14:43:37 +02:00
Nicolas Hennion e068f41908 Merge pull request #677 from notFloran/fix-webui-raid
[WebUI] Hide RAID plugin if no data
2015-09-13 13:53:09 +02:00
Floran Brutel 70507faff2 Hide raid plugin if no data 2015-09-13 12:46:10 +02:00
Nicolas Hennion 1006adcce6 Merge pull request #674 from notFloran/fix-percpu-when-no-iowait
Fix percpu when stats are missing
2015-09-13 11:44:34 +02:00
Nicolas Hennion 6d511d4588 Merge pull request #676 from notFloran/webui-raid
[WIP][WebUI] RAID Plugin
2015-09-13 11:41:49 +02:00
Floran Brutel 783b5d98e6 WebUI : adds raid plugin 2015-09-13 10:15:53 +02:00
Floran Brutel 827ea30bd1 Per CPU : test if stat exists for the cpu 2015-09-12 10:50:25 +02:00
nicolargo 1945db14fc Add additional stats (iowait, steal) to the perCPU plugin (issue #672) 2015-09-11 22:24:16 +02:00
nicolargo 3f9d2f5c72 Merge branch 'issue520' into develop 2015-09-11 20:30:42 +02:00
nicolargo fa176e12b6 Add IO rate to the docker plugin Web UI (issue #520) 2015-09-11 20:30:14 +02:00
Alessio Sergi 7cfc223c12 Working around netifaces segfault on FreeBSD
netifaces.gateways() function segmentation fault on FreeBSD, making
Glances unusable. As a workaround, just disable netifaces on FreeBSD.
See https://bitbucket.org/al45tair/netifaces/issues/15.

Fixes #670.
2015-09-11 12:37:37 +02:00
nicolargo fdebbce53e Add IOR and W to the Curses interface 2015-09-09 14:50:12 +02:00
nicolargo 1427274e50 Can't delete filter text (Mac OS 10.9, Python 2.7, psutil 3.1.1, glances latest) (issue #647) 2015-09-09 10:12:08 +02:00
Nicolas Hennion 9c80e05f3c Merge pull request #669 from notFloran/webui-disable-quick-look-and-process-message
[WebUI] disable quick look and message when processes stats is disable
2015-09-08 22:48:38 +02:00
Floran Brutel 04033e1c00 WebUI : shortcut to disable quick lock and message when process list is disable 2015-09-08 22:41:11 +02:00
Nicolas Hennion dd7911f0b0 Merge pull request #668 from notFloran/webui-filesystem-free-space
[WebUI] filesystem free space
2015-09-08 22:34:34 +02:00
Floran Brutel a70b420862 WebUI : Show filesystem free space
Add "Show filesystem free space"
strict compliance shortcuts
2015-09-08 22:20:25 +02:00
Nicolas Hennion 1e55bcb1ad Merge pull request #667 from notFloran/webui-fix-help
[WebUI] Fix layout of the help page
2015-09-08 22:05:14 +02:00
Nicolas Hennion 4f6f56563b Merge pull request #666 from notFloran/webui-fix-processes-io-write
[WebUI] fix io write in the process list
2015-09-08 22:02:30 +02:00
Floran Brutel 380e4599d5 WebUI : Fix layout of the help page 2015-09-08 21:59:22 +02:00
nicolargo 5f9a59b1dc Add some epty space after the quilook plugin 2015-09-08 21:58:11 +02:00
Floran Brutel bf32716dfc WebUI : fix io write in the process list 2015-09-08 21:55:24 +02:00
nicolargo 023ac7badd The -4, --full-quicklook option did not work as expected (issue #663) 2015-09-08 21:32:43 +02:00
nicolargo 6fc6d9af24 Filter processes crashs with a bad regular expression pattern (issue #665) 2015-09-08 21:09:00 +02:00
Nicolas Hennion 384c6dcd90 Merge pull request #664 from nclsHart/webui-quicklook
[Web UI] Quicklook plugin
2015-09-06 20:55:36 +02:00
Nicolas Hart 64f53adfa6 add quicklook plugin in web ui 2015-09-05 17:53:20 +02:00
Nicolas Hart a528d13de5 use the curse colors in web ui 2015-09-05 17:48:48 +02:00
nicolargo 5c60708db6 Monitored list. Only return first line of command line result 2015-08-30 17:22:28 +02:00
nicolargo dc2ceed5a8 Error with IP plugin (issue #651) 2015-08-30 16:33:59 +02:00
nicolargo d64dbe9163 Docker plugin crashs with webserver mode (issue #654) 2015-08-30 16:28:24 +02:00
nicolargo 4b0cfe8001 [Web UI] Wrong value in filesystem plugin (issue #662) 2015-08-29 21:14:48 +02:00
Nicolas Hennion f219f3e130 Merge pull request #660 from nclsHart/webui-memswap-bad-values
[Web UI] Fix memswap plugin displaying mem values
2015-08-29 21:00:02 +02:00
Nicolas Hennion fe6e231912 Merge pull request #661 from nclsHart/webui-top-plugins-order
[Web UI] Reorder top plugins like in the curse interface
2015-08-29 20:59:51 +02:00