Commit Graph

2542 Commits

Author SHA1 Message Date
Alessio Sergi
e4348e1cc2 Use 'with' context manager so we don't leak open files. 2016-11-12 13:00:12 +01:00
nicolargo
846c9e843d Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-11-12 10:25:28 +01:00
nicolargo
de369be5b3 Merge branch 'refactor_curses' into develop 2016-11-12 10:25:06 +01:00
nicolargo
9d90af0857 Refactor curses output script to split some functions 2016-11-12 10:24:41 +01:00
Alessio Sergi
49346dae99 Remove '__appname__'
Not so useful, one less import.
2016-11-11 20:00:53 +01:00
Alessio Sergi
116d6fb50e Do not use platform.linux_distribution() on Python 3.7+ 2016-11-11 16:29:45 +01:00
Alessio Sergi
5c133a9571 Strip double quotes explicitly while parsing /etc/os-release 2016-11-11 13:23:43 +01:00
Alessio Sergi
842f65dbf2 Setting IRQ plugin to off by default 2016-11-11 11:11:11 +01:00
Alessio Sergi
f7b22d34e2 Align header too if kernel.pid_max is > 99999 (#959) 2016-11-10 18:25:43 +01:00
Alessio Sergi
967d68e8ea Truncate long device names in irq plugin 2016-11-10 17:33:15 +01:00
Alessio Sergi
c24cca191d Handle no-permission when checking IRQs on Alpine Linux (#962) 2016-11-10 17:01:55 +01:00
nicolargo
4e3ce5ef42 Refactor hotkey in the Curses interface 2016-11-10 10:23:25 +01:00
nicolargo
2ed8dbc8c8 Merge branch 'issue959' into develop 2016-11-10 09:47:58 +01:00
nicolargo
25cca79218 PID column too small if kernel.pid_max is > 99999 #959 2016-11-10 09:47:39 +01:00
nicolargo
408208b210 Merge branch 'issue958' into develop 2016-11-09 21:59:06 +01:00
nicolargo
3e8c8ae9bb Optimise CPU consumption #958 2016-11-09 21:58:44 +01:00
nicolargo
1d85b49561 Revert "First step of curses catch_key method refactor"
This reverts commit f88e546edc.
2016-11-06 20:46:14 +01:00
nicolargo
f88e546edc First step of curses catch_key method refactor 2016-11-06 18:09:34 +01:00
nicolargo
c23d3a255f Refactor Glances IRQ plugin 2016-11-06 11:47:51 +01:00
nicolargo
74a0188848 Update documentation 2016-11-05 18:13:59 +01:00
nicolargo
65121f7796 Refactor the main() function 2016-11-05 12:13:27 +01:00
Nicolas Hennion
5521197a6e Merge pull request #955 from hastinbe/fix-cpustats-typeerror
Fix cpu_stats TypeError
2016-11-05 09:59:04 +01:00
Nicolas Hennion
84ebb629cd Merge pull request #957 from hastinbe/fix-memswap-option-mismatch
Fix issue #956
2016-11-05 09:57:29 +01:00
Beau Hastings
3db8667d00 Fix issue #956
Signed-off-by: Beau Hastings <beausy@gmail.com>
2016-11-04 11:41:01 -05:00
Beau Hastings
998f6c1f02 Fix cpu_stats TypeError
Signed-off-by: Beau Hastings <beausy@gmail.com>
2016-11-03 18:03:04 -05:00
Alessio Sergi
85fa23ab71 Revert "Deprecated platform method in Python 3.7 #945"
This reverts commit 4877be45ea.
2016-11-02 10:12:03 +01:00
nicolargo
fc9580bc41 Travis 1 - 0 Nicolargo... 2016-11-01 19:03:03 +01:00
nicolargo
c47e8edc64 Try Travis without export module 2016-11-01 18:49:22 +01:00
nicolargo
4765058544 Only execute unitest.py in Travis 2016-11-01 18:45:21 +01:00
nicolargo
d3f1e354af Remove installation of optional-requirements in Travis (too log) 2016-11-01 18:44:50 +01:00
nicolargo
5bb0dfce6d Add optional-requirements.txt and unitest-all.sh script (realy) 2016-11-01 18:33:40 +01:00
nicolargo
27aa32891e Add optional-requirements.txt and unitest-all.sh script 2016-11-01 18:32:34 +01:00
nicolargo
52c08b4f7b Merge branch 'refactorbrowser' into develop 2016-11-01 15:50:18 +01:00
nicolargo
904cec46a6 Refactor GlancesClientBrowser classe 2016-11-01 15:49:54 +01:00
nicolargo
4dbfe9a662 Add .coveragerc file 2016-11-01 10:08:57 +01:00
nicolargo
0d634d0113 Correct an issue with Docker client 2016-11-01 09:55:31 +01:00
nicolargo
ee2bce20e7 Resolv compatibility issue with 2.7 or lower in client/server mode (round 1) 2016-10-31 18:32:40 +01:00
nicolargo
07b737ab42 Args are now given to the Glances client 2016-10-31 18:11:17 +01:00
nicolargo
7b102b828b Correct an issue when use --disable tags in client/server mode 2016-10-31 15:41:12 +01:00
nicolargo
875f71f660 Correct issue on HDDTemp plugin with unitest 2016-10-31 14:46:04 +01:00
nicolargo
ad62f25a7f Merge branch 'refactorplugins' into develop 2016-10-31 14:32:59 +01:00
nicolargo
fb7646d521 Refactors plugins to avoid calling views and history update inside the update method 2016-10-31 14:32:17 +01:00
nicolargo
30c5890a46 Merge branch 'issue948' into develop 2016-10-30 16:29:55 +01:00
nicolargo
634f8fb29b Refactor the --disable-* options #948 2016-10-30 16:29:30 +01:00
nicolargo
2e3f456529 Merge branch 'issue947' into develop 2016-10-30 14:07:28 +01:00
nicolargo
540e840bbb /proc/interrupts not found when running Glances in an OpenVZ container #947 2016-10-30 14:07:07 +01:00
nicolargo
6eb21d745a Correct issue on the --disable option 2016-10-28 22:12:49 +02:00
nicolargo
b19b1f54b1 Add --disable-<option> for all plugins. Should be refactor... 2016-10-28 09:26:57 +02:00
nicolargo
9104f439f4 Update NEWS file 2016-10-27 21:40:59 +02:00
nicolargo
616466f4c7 Merge branch 'issue946' into develop 2016-10-27 21:38:25 +02:00