Commit Graph

1505 Commits

Author SHA1 Message Date
Alessio Sergi
be3c43bf48 Add check for supported Python versions
Glances requires at least Python 2.6 or 3.3 to run.
2015-03-11 16:03:32 +01:00
nicolargo
58f03687b8 Hide Rx/Tx net interface for the Docker plugin. Not work has expected 2015-03-10 23:23:54 +01:00
nicolargo
ddc2e88eb1 Ready for influxdb-0.3. No more FutureWarning error message 2015-03-10 21:48:03 +01:00
nicolargo
38c7ee9876 Set the peak_time to 6 seconds 2015-03-10 21:37:25 +01:00
Alessio Sergi
308a8b6b50 Replace getters/setters with properties - Round 5 2015-03-10 17:00:00 +01:00
nicolargo
0a0fed767e Correct an issue in the RESTFUL unitest. Add delay to the server start 2015-03-08 11:21:02 +01:00
nicolargo
2275a72b94 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2015-03-08 11:10:10 +01:00
nicolargo
f153c75efd Docker plugin now use the stats method as default grabber. The network stats do not work as expected... 2015-03-08 11:09:43 +01:00
Alessio Sergi
abec1a72de Replace getters/setters with properties - Round 4 2015-03-05 23:53:15 +01:00
nicolargo
56c6961796 First try for the issue #520 but refresh problem... 2015-03-05 23:37:37 +01:00
Alessio Sergi
3074e50bfc Replace getters/setters with properties - Round 3 2015-02-28 11:22:11 +01:00
Alessio Sergi
c5a2c25b35 Replace getters/setters with properties - Round 2
Introduce the new sort_key method. Replace the old multitude ones,
thanks to properties too.
2015-02-27 15:01:41 +01:00
Alessio Sergi
929b832b74 Replace getters/setters with properties
...because it's the Pythonic way to do it.
2015-02-26 18:31:25 +01:00
Alessio Sergi
0f083d215a Do not return values from setters
A setter method always takes a parameter and does not return a value.

Rename 'set_stats_snmp' method to 'get_stats_snmp'.
2015-02-26 12:57:55 +01:00
Nicolargo
d98d6c3b55 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2015-02-26 10:53:12 +01:00
Nicolargo
3c9fba3dcf Avoid crashing if LC_ALL is not defined by user (issue #517) 2015-02-26 10:52:50 +01:00
Alessio Sergi
76cdd091eb Fix crash in browser mode with Python 3
The crash occurs while trying to unlock a password protected Glances
server (TypeError: Unicode-objects must be encoded before hashing).
2015-02-24 00:45:07 +01:00
Alessio Sergi
ccb1751be0 Do not use Python's built-in function names as variable names
Don't redefine built-ins. Unless it's wanted.
2015-02-23 19:39:19 +01:00
Alessio Sergi
2f7c672054 Simplify checks for non-empty sets 2015-02-22 23:55:38 +01:00
Alessio Sergi
1b3bff2587 Use 'not' to test for empty sets
Empty sets evaluate to False.
2015-02-22 21:12:12 +01:00
Alessio Sergi
ec44cfe1cf Misc fixes
- Remove unused import
- Fix double import
- Remove unnecessary pass statement
- Fix bad indentation
- Fix pointless statement
2015-02-22 17:17:04 +01:00
Alessio Sergi
62f34e4a11 glances_ip: fix IP with Python 3 2015-02-22 16:36:16 +01:00
Alessio Sergi
e2912943c5 Do not use mutable objects as default argument values
Use None as a default value.
See https://stackoverflow.com/questions/101268/hidden-features-of-python#113198
for more information.
2015-02-22 15:43:07 +01:00
Alessio Sergi
c7580a47ed requirements.txt: psutil 2.2.1 2015-02-22 12:51:15 +01:00
Alessio Sergi
2a7828a1f5 glances_logging: more Python 2.6 compatibility
Minor cosmetic tweaks.
2015-02-22 12:40:00 +01:00
Alessio Sergi
6b3c47b826 Fix logging support for Python 2.6
Use logutils when running on Python 2.6.

Close #512.
2015-02-22 12:12:12 +01:00
nicolargo
7a95094068 Add percent in the quicklook 2015-02-22 10:48:50 +01:00
nicolargo
02e8203a05 Improve IP plugin display 2015-02-22 10:04:26 +01:00
nicolargo
fc869b7a21 Correct an issue on the latest commit, cause unitary tests failed 2015-02-20 22:59:00 +01:00
nicolargo
0a99b139b6 Add a disable HDD temperature option on the command line (issue #515) 2015-02-20 22:45:20 +01:00
Nicolargo
183cbce7aa Enhance Quicklook display 2015-02-16 18:12:16 +01:00
nicolargo
a5b6eb9dab Add a new IP information plugin (issue #509) 2015-02-15 22:17:55 +01:00
nicolargo
d34cde590e Improve PEP8 (S1066) 2015-02-13 22:49:30 +01:00
nicolargo
f069d81071 Improve PEP8 (S1721) 2015-02-13 22:44:55 +01:00
nicolargo
6b13120503 Remove dev log 2015-02-08 18:07:47 +01:00
nicolargo
0003e0e50a Allow logical mounts points in the FS plugin (issue #448) 2015-02-08 18:00:35 +01:00
nicolargo
e6c646c1e2 Extended stats for top process are disabled message is now in DEBUG level 2015-02-07 17:55:37 +01:00
nicolargo
8fc5bbf9fe Remove forgotten log message 2015-02-07 17:52:28 +01:00
nicolargo
672ff0d977 Grab FAN speed in the Glances sensors plugin (issue #501) 2015-02-07 17:46:28 +01:00
nicolargo
d390e03a5c Correct duplicated --nable-history in the doc (issue #511) 2015-02-07 14:38:12 +01:00
nicolargo
79373b2763 Correct monitor list, all processes are take into account (issue #507) 2015-02-06 22:52:58 +01:00
nicolargo
47785422ff Update doc for the Quicklook plugin 2015-02-03 18:01:52 +01:00
nicolargo
6fae969549 Manage disable_quicklook command 2015-02-03 17:58:39 +01:00
nicolargo
a6a8ccbc03 Update look and feel for the Quicklook plugin 2015-02-03 17:33:22 +01:00
Nicolargo
596d93aa63 Add limits to the quicklook plugin 2015-02-03 17:07:16 +01:00
Nicolargo
c66a7a8fd2 Add common class to access to the CPU 2015-02-03 16:40:07 +01:00
Nicolargo
ac2c1ba9e0 First try for the quicklook plugin 2015-02-01 22:13:01 +01:00
Nicolargo
67e21a606e On the road of the version 2.4 2015-01-31 14:02:45 +01:00
Nicolargo
358bb45b4a Merge form master 2015-01-31 13:50:06 +01:00
Nicolargo
c7fad235f3 Update docs file for the 2.3 version 2015-01-31 13:45:48 +01:00