Commit Graph

1266 Commits

Author SHA1 Message Date
Nicolargo
f24c6387aa Finalize the export module refactoring 2014-12-27 13:50:35 +01:00
Nicolargo
11fd967085 Export module are threaded 2014-12-27 13:33:41 +01:00
Nicolargo
86b89c6294 Export module are manage like plugin. Rename --output-csv option to --export-csv 2014-12-26 23:55:25 +01:00
Nicolargo
85b33d57a2 Add diskio and fs plugins to the CSV export module 2014-12-26 17:42:15 +01:00
Nicolargo
5c6741de89 Restructure folder. Add export father class. Refactor CSV export feature. 2014-12-25 23:32:53 +01:00
Nicolas Hennion
3a896dbe9d Correct issue on Windows SNMP client 2014-12-23 11:12:06 +01:00
Nicolas Hennion
8b03f1a8d6 Merge branch 'feature/issue447' into develop 2014-12-22 17:20:00 +01:00
Nicolas Hennion
b9febbc283 RAID plugin ok for beta testing 2014-12-22 17:16:56 +01:00
Nicolas Hennion
ab91a39ede Add Web interface for the RAID plugin 2014-12-22 16:59:15 +01:00
Nicolas Hennion
1de241d814 Replace tree char 2014-12-22 16:41:07 +01:00
Nicolas Hennion
522acfca35 Correct pb if array stats are None 2014-12-22 14:15:21 +01:00
Nicolargo
c22d4407b5 Curses interface OK 2014-12-21 22:48:30 +01:00
Nicolargo
96d2e841de Correct check issue error in client/server mode (issue #459) + exit on check failed + correct another issue on Linux CPU SNMP 2014-12-18 21:23:27 +01:00
Alessio Sergi
56e35e4b04 glances.conf: update 2014-12-16 17:34:00 +01:00
Alessio Sergi
e65769537d Improve Python 3 compatibility 2014-12-16 17:00:44 +01:00
Nicolas Hennion
dab4781eac Update NEWS and add Scrutinizer badge 2014-12-16 15:04:05 +01:00
Alessio Sergi
64b733396c Fix cyclic import (again)
glances_globals <-> glances_logging
2014-12-16 12:49:16 +01:00
Alessio Sergi
e54c3a7d48 Fix cyclic import
glances_globals -> glances_logs -> glances_processes -> glances_globals
2014-12-16 12:00:00 +01:00
Nicolas Hennion
e8e49abd9d Merge pull request #457 from desbma/develop
Fix incorrect kernel thread detection with --hide-kernel-threads
2014-12-15 17:30:32 +01:00
Jean-Christophe
4f7773e3a8 Handle IOError exception if no /etc/os-release
On Synology DSM OS (Linux base), python throws an IOError when open does not find a file.
Previously only OSError was handled, now it handles both the OSError and IOError.
2014-12-15 16:30:49 +01:00
desbma
9a00800b22 Fix incorrect kernel thread detection 2014-12-15 00:46:09 +01:00
Nicolargo
d17def69b4 On the road on the 2.3 release 2014-12-13 22:56:46 +01:00
Nicolargo
e8417b7c76 Correct merge issue with master 2014-12-13 22:43:18 +01:00
Nicolargo
f5747a5b00 Change version to 2.2 2014-12-13 22:32:53 +01:00
Nicolargo
29780f83e7 Update docs for 2.2 release 2014-12-13 22:17:05 +01:00
Alessio Sergi
9f020ab1cb glances_cpu.py: simplify 2014-12-13 19:50:50 +01:00
Alessio Sergi
88115d712b glances_percpu.py: use psutil's cpu_percent and cpu_times_percent methods
Rely on both methods to get per-CPU stats as a percentage.
Replace the 'homemade' one.
2014-12-13 19:12:52 +01:00
Nicolargo
f907069c8c Correct error in README.rst using the rst-lint script 2014-12-13 09:45:03 +01:00
Alessio Sergi
bb518bebde Merge branch 'desbma-develop' into develop 2014-12-12 09:49:43 +01:00
desbma
58ad1e7dff Use operator.itemgetter instead of lambda when possible 2014-12-12 09:49:20 +01:00
desbma
7cf0a31997 Don't construct empty lists in tests 2014-12-12 09:49:20 +01:00
desbma
59fc36e334 Remove code duplication 2014-12-12 09:49:20 +01:00
desbma
1ba459e696 Sort lists in place when possible 2014-12-12 09:49:13 +01:00
Alessio Sergi
a6b2f7f63c glances_fs.py: simplify for loop iteration 2014-12-11 10:28:00 +01:00
Alessio Sergi
1c4da44eb9 Merge branch 'desbma-develop' into develop 2014-12-10 17:16:32 +01:00
desbma
901866a306 Fix issue when sorting by time with '--tree' option
When sorting by 'cpu_times', stats are returned as a pcputimes namedtuple,
with user and system CPU time, so they must be summed before numerical
comparison.

Close #453.
2014-12-10 17:12:17 +01:00
Alessio Sergi
af67cfcf83 Linux: add os-release support
Python's platform.linux_distribution() returns an empty tuple if a Linux
distribution is not part of the '_supported_dists' list.

Add a method to parse the os-release file, the new standard release file,
which replaces the multitude of per-distribution ones.

Also, platform.linux_distribution() is being deprecated and then removed
in future Python releases.
2014-12-08 18:00:00 +01:00
Alessio Sergi
c4b7efb2e9 Fix a crash in autodiscover mode when netifaces is not installed 2014-12-06 20:00:00 +01:00
Alessio Sergi
c9266ebf62 Prevent an issue when zeroconf is not updated while Glances is 2014-12-06 17:49:48 +01:00
Nicolargo
db6a4ff56c Merge branch 'develop' of github.com:nicolargo/glances into develop 2014-12-06 10:35:00 +01:00
Nicolargo
cd88420552 Add Pylint configuration file 2014-12-06 10:34:48 +01:00
Alessio Sergi
baa8ef1fd7 Misc tweaks
- fix help screen
- whitespace before ‘:’
- missing whitespace around operator
- function name should be lowercase
- class names should use CapWords convention
- fix various misspelling
2014-12-05 10:41:49 +01:00
Alessio Sergi
5da624c202 Remove i18n from log messages 2014-12-04 17:04:50 +01:00
Alessio Sergi
d398cf0f1f Remove unused and duplicate import statements
Clean up import order.
2014-12-04 13:04:49 +01:00
Alessio Sergi
5b78805b68 Fix blind except statements 2014-12-04 12:27:27 +01:00
Alessio Sergi
ed0ef18456 setup.py: zeroconf and netifaces are optional dependencies
Move them to extras_require.
2014-12-04 10:49:49 +01:00
Nicolargo
dafcc65d5c Log if Zeroconf < 0.16 is detected 2014-12-03 23:16:34 +01:00
Nicolargo
03743421f0 Change the function to get the IPv4 active address to use in the autodiscover mode (issue #452) 2014-12-03 22:51:14 +01:00
Nicolargo
b743d6ace0 Zeroconf API change - Need Zeroconf 0.16 or higher 2014-12-03 19:04:04 +01:00
Alessio Sergi
ca467765fc core/glances_client_browser.py: ensure rounding to 2 decimal places for load stat
Close #450.
2014-12-03 12:00:00 +01:00