Commit Graph

2897 Commits

Author SHA1 Message Date
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
nicolargo
1e36444f18 Correct an issue in PR issue #979 (for #issue #170) because the get_stats method overwrite the default get_method. Rename it to get_device_stats 2016-12-17 10:35:09 +01:00
nicolargo
c28a00ffb4 Merge branch 'issue170' into develop 2016-12-17 09:53:30 +01:00
nicolargo
ec27ef53d4 Correct unitary tests issues. Add some PEP8 tips. 2016-12-17 09:53:06 +01:00
Kirby Banman
bdd4735d00 Move gpu plugin to better named file 2016-12-15 22:48:37 -07:00
Kirby Banman
8b3395144f Declare nvidia as optional requirement 2016-12-15 22:47:57 -07:00
Kirby Banman
dc592a2cd0 Merge branch 'develop' of https://github.com/nicolargo/glances into feature/gpu-nvidia 2016-12-15 22:46:03 -07:00
nicolargo
6a186fd4c2 Replace homemade timer by sched Python lib for the standalone mode 2016-12-04 10:32:26 +01:00
nicolargo
9affd4d541 PEP8 correction 2016-12-04 09:46:07 +01:00
nicolargo
80d9d05ba5 Update processlist doc 2016-12-03 18:07:24 +01:00
nicolargo
40a2331a81 Merge branch 'issue836' into develop 2016-12-03 15:30:59 +01:00
nicolargo
1f01e1dbf4 Add access to the config file from the RestFul API: http://0.0.0.0:61208/api/2/config 2016-12-03 14:59:47 +01:00
Kirby Banman
df3e80875b Implement basic nvidia stats in plugin 2016-11-27 14:28:19 -07:00
nicolargo
258dbbf94f Refactor Curses display method 2016-11-27 22:14:20 +01:00
nicolargo
2050b2cccc Update optional-requirements.txt file 2016-11-26 16:36:10 +01:00
nicolargo
468623c089 Merge branch 'issue951' into develop 2016-11-26 16:22:20 +01:00
nicolargo
569516db80 Use multithread to grab server stats in the Browser mode (related to issue#951) 2016-11-26 16:21:36 +01:00
nicolargo
373a2d8ccc Document logfile path in man page #969 2016-11-21 22:06:54 +01:00
nicolargo
846bd217f5 fix missing local variable 'e' #968 2016-11-21 22:02:39 +01:00
nicolargo
3816c76017 Merge branch 'develop' of https://github.com/nicolargo/glances into develop 2016-11-17 21:23:15 +01:00
nicolargo
bedbbbe68f Merge branch 'issue967' into develop 2016-11-17 21:22:55 +01:00
nicolargo
dfd97d0d4d [develop] Hotkeys broken #967 2016-11-17 21:22:38 +01:00
nicolargo
da0db5ccba Correct issue with hotkey 'g' 2016-11-17 21:12:12 +01:00
Alessio Sergi
c090fb34f8 [WebUI] Fix keycode for the IRQ plugin
See commit 9650ce0.
2016-11-13 19:11:28 +01:00