Commit Graph

2770 Commits

Author SHA1 Message Date
nicolargo
e68a504752 Correct number of digits displayed in the GPU plugin 2016-12-27 21:54:17 +01:00
nicolargo
32eff4d079 Correct encoding issue with AMP sustemd and Python 3.5 2016-12-27 21:45:11 +01:00
nicolargo
0ba5b95ff1 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-12-27 21:25:30 +01:00
nicolargo
cc9dfc22f7 Update NEWS file 2016-12-27 21:25:20 +01:00
Alessio Sergi
3baae1f5c4 Add the username to the log filename
Glances as system tool is often executed in a multi-user environment or
even with root privileges. Then, make the log file system-aware as well.
2016-12-27 19:49:37 +01:00
Alessio Sergi
555f84b976 Use bold for text with bg
Glances 2.7 is not affected, only develop.
2016-12-27 19:05:04 +01:00
Alessio Sergi
7b7b47f3fb Revert "Fix 'module level import not at top of file'"
This reverts commit cac3e36895.
2016-12-27 18:32:15 +01:00
Alessio Sergi
cac3e36895 Fix 'module level import not at top of file' 2016-12-27 18:27:33 +01:00
nicolargo
b106370bd8 Add debug message for the load of maximum processes to display in the WebUI 2016-12-27 12:29:58 +01:00
Nicolas Hennion
c7e8fd0c5c Merge pull request #989 from notFloran/webui-config-to-limit-processes-display
Add config to limit the number of processes to display in the web ui
2016-12-27 12:03:44 +01:00
Floran Brutel
6988b5ea03 Add config to limit the number of processes to display in the web ui 2016-12-27 11:45:13 +01:00
Alessio Sergi
723519f6a9 setup.py: get_requires() no longer needed
We dropped support for Python 2.6 and curses interface on Windows.
2016-12-26 19:01:46 +01:00
Alessio Sergi
cefa8b06ce Console mode on Windows is no more
See 8866321a49.
2016-12-26 18:49:04 +01:00
nicolargo
01ff8aa7d5 Force float on GPU memory 2016-12-26 09:39:42 +01:00
nicolargo
184e444dc4 Update PsUtil version 2016-12-24 17:31:47 +01:00
nicolargo
525db5a5e8 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-12-24 17:00:58 +01:00
nicolargo
c5c961c1a0 Replace try by in 2016-12-24 17:00:52 +01:00
Alessio Sergi
d9aaa0147d Remove unreachable code 2016-12-22 16:00:00 +01:00
Alessio Sergi
9f36d12693 Replace assignment with augmented assignment 2016-12-22 15:58:01 +01:00
Alessio Sergi
6fb03571f1 Use triple double-quote string format for docstrings 2016-12-22 15:44:18 +01:00
Alessio Sergi
e8ccb64437 Some minor fixes and misspelling 2016-12-22 12:00:44 +01:00
Alessio Sergi
904e0f1f32 actions: change log message from warning to debug 2016-12-21 17:53:36 +01:00
Alessio Sergi
a9ebe31cdf logging: fix redefinition of ret type from str to tuple
While I'm here, fix 'Imports from package logging are not grouped'.
2016-12-21 17:35:50 +01:00
Alessio Sergi
f02a266ca9 Always use nvmlDeviceGetMemoryInfo() to get NVIDIA GPU memory usage
nvmlDeviceGetUtilizationRates(handle).memory is not always reliable and
plus seems not supported by all NVIDIA cards.
2016-12-21 13:37:13 +01:00
Alessio Sergi
7310b32605 Handle nvmlDeviceGetUtilizationRates(handle).gpu error in the UI too 2016-12-21 13:16:05 +01:00
Alessio Sergi
a08f848b1a Fix redefinition of t type from threading.Thread to glances.timer.Timer 2016-12-21 11:21:21 +01:00
Alessio Sergi
c93ee098d1 Fix redefinition of ret type from str to tuple 2016-12-21 11:16:29 +01:00
Alessio Sergi
3d9dce7ec2 Fix another bare except statement (forgot in the previous commit) 2016-12-20 13:35:53 +01:00
Alessio Sergi
34434c5f44 Fix some bare except statements 2016-12-20 13:31:17 +01:00
Alessio Sergi
7f902d3f5b Remove duplicate key 'c' in dictionary 2016-12-20 13:00:54 +01:00
Alessio Sergi
cd77205cf9 Remove superfluous parenthesis 2016-12-20 13:00:15 +01:00
Alessio Sergi
002510f19c Remove unused variable 'd' 2016-12-20 12:58:50 +01:00
Alessio Sergi
74fa804e94 Fix wrong continued indentation 2016-12-20 12:55:49 +01:00
Alessio Sergi
bb01387e86 Cleanup imports
- Fix wrong import order
- Remove unused imports
2016-12-20 12:46:31 +01:00
Alessio Sergi
1435f6ce0c Fix bad format string 2016-12-20 11:23:20 +01:00
Alessio Sergi
c2cb4b8a7f setup.py: use 'with' context manager to open files 2016-12-19 19:50:02 +01:00
Alessio Sergi
0fe2b71a35 GPU plugin: dos -> unix line endings (3rd) 2016-12-19 17:23:10 +01:00
Nicolargo
67d9b96d86 Corect issue when displaying multiple GPU 2016-12-19 11:44:33 +01:00
Nicolargo
0a152be93a Corect issue when displaying multiple GPU 2016-12-19 11:41:33 +01:00
Alessio Sergi
7e065e6ce7 Remove old warning about Python 2.6 deprecation 2016-12-19 00:02:40 +01:00
Alessio Sergi
da26c9539d GPU plugin: dos -> unix line endings (again) 2016-12-18 23:38:07 +01:00
Kirby Banman
b80a7515f1 Fix typo in string formatting for gpu mem stats in curses (#983) 2016-12-18 23:36:03 +01:00
nicolargo
ff14d3349c Resolve merge issue 2016-12-18 20:16:48 +01:00
nicolargo
6b82c627c3 Merge branch 'issue170' into develop 2016-12-18 20:14:18 +01:00
nicolargo
37d7e942f1 First version of the Curses interface for the new GPU plugin 2016-12-18 20:14:08 +01:00
Alessio Sergi
f909170fd9 GPU plugin: dos -> unix line endings 2016-12-18 19:06:50 +01:00
Alessio Sergi
deaa17a74f Use str.format() automatic numbering
We don't support Python 2.6 any longer.
2016-12-18 18:52:47 +01:00
nicolargo
781dfeef0c Add the key to the GPU plugin 2016-12-18 11:09:19 +01:00
Nicolas Hennion
0182fafdb0 Merge pull request #982 from kdbanman/feature/gpu-nvidia
Fix incorrectly registered GPU id in gpu plugin
2016-12-18 11:05:30 +01:00
Kirby Banman
0ac7d86ea7 Fix incorrectly registered GPU id in gpu plugin 2016-12-17 23:38:06 -07:00