Commit Graph

1246 Commits

Author SHA1 Message Date
Nicolargo
1d33de1472 Make client login/password works again... 2014-11-22 15:13:50 +01:00
Nicolargo
06f35826f1 Do not crash if password is protected by a password 2014-11-22 10:31:17 +01:00
Nicolas Hennion
fafcd1766f Merge pull request #444 from desbma/process-tree 2014-11-17 14:54:04 +01:00
Nicolas Hennion
b7086932b2 Merge pull request #444 from desbma/process-tree
Implement process tree feature.
Thx to the (huge) commit.

Note: Just a remark, on my PC, the init --user process always appear as the tree root. Perhaps, it will be usefull, in a future commit, to find a way to only display processes under this branch.
2014-11-17 14:32:20 +01:00
Nicolas Hennion
b8b6f422b7 Create GlancesCursesStandalone classes 2014-11-17 09:30:36 +01:00
desbma
712b7421ba Fix tree construction on Windows 2014-11-16 22:00:48 +01:00
Nicolargo
2d72625344 First try to manage Glances server protected by password 2014-11-16 21:56:48 +01:00
Nicolargo
290d8a1d32 Update doc and rezise window control 2014-11-16 21:31:02 +01:00
desbma
415e9dcbd2 Another fix for Python 2 2014-11-16 21:21:52 +01:00
Nicolargo
af62415923 Browser first public version ! 2014-11-16 19:15:46 +01:00
desbma
951385af43 Fixes for Python 2.7 2014-11-16 18:05:46 +01:00
desbma
dd4928aec8 Add myself to contributors 2014-11-16 17:59:55 +01:00
desbma
9bcb59dfdc PEP8 2014-11-16 17:57:16 +01:00
desbma
6a667d63de Add command line --tree option and remove hardcoded boolean 2014-11-16 17:54:17 +01:00
desbma
5c3a269841 Add message to show if in tree or flat view 2014-11-16 17:37:31 +01:00
desbma
483ebc90b8 Fix infinite loop with --hide-kernel-threads option 2014-11-16 17:27:51 +01:00
desbma
41586d60f9 Fix tree color and improve display code 2014-11-16 17:03:24 +01:00
desbma
09d06f23e7 Tree drawing code cleanup 2014-11-16 15:48:45 +01:00
Nicolargo
891827ace4 No internationalization on log message 2014-11-15 19:05:32 +01:00
Nicolargo
f7f5725198 Refactor Curses output for client browser 2014-11-15 16:48:05 +01:00
Nicolargo
5a950e6a93 Add cursor to the browser client 2014-11-13 22:24:04 +01:00
desbma
bd0d94c695 Fix dynamic sorting (change of sort key between 2 stats updates) 2014-11-13 16:59:56 +01:00
desbma
e9c2f016c8 getRessourceUsage -> getWeight 2014-11-13 16:59:56 +01:00
desbma
5499c34423 Comment fix 2014-11-13 16:59:56 +01:00
desbma
3687350e65 Fix sorting by memory usage, IO rate, or name 2014-11-13 16:59:56 +01:00
desbma
4220b1e8e0 Simplify tree display code 2014-11-13 16:59:56 +01:00
desbma
4b712674d3 Fix tree to text function and make it non recursive 2014-11-13 16:59:56 +01:00
desbma
7dd097b9e4 Use a non recursive algorithm for ProcessTreeNode.findProcess (saves ~15% CPU with CPython 3.4 on my system) 2014-11-13 16:59:56 +01:00
desbma
0418f4e332 Fix max process limit not working with tree view 2014-11-13 16:59:56 +01:00
desbma
11ab832047 Minor tree display indentation fix 2014-11-13 16:59:56 +01:00
desbma
350c9feac5 Initial tree display with curses frontend 2014-11-13 16:59:56 +01:00
desbma
0c494fd378 Simplify stat collecting for process tree 2014-11-13 16:59:56 +01:00
desbma
3f228f476d Add code for dynamic sorting 2014-11-13 16:59:56 +01:00
desbma
1166dc093d Fix process tree generation wrongly attaching node to root 2014-11-13 16:59:56 +01:00
desbma
16b128a571 Initial sorting implementation 2014-11-13 16:59:56 +01:00
desbma
9ffdb39932 Code & indent cleanup 2014-11-13 16:59:56 +01:00
desbma
e84ce1905f Fix psutil.Process comparison 2014-11-13 16:59:56 +01:00
desbma
a3f5dc5167 Add basic tree structure and text display 2014-11-13 16:59:56 +01:00
desbma
b4a60d43dc Fix hddtemp drive label for devices not directly under /dev 2014-11-12 13:43:39 +01:00
Alessio Sergi
746e18d790 core/glances_main.py: s/--disable_left_sidebar/--disable-process/ 2014-11-12 13:35:28 +01:00
Alessio Sergi
8c46151c07 glances.1: remove duplicate entry for '--disable-network' (closes #441) 2014-11-12 13:35:14 +01:00
Nicolas Hennion
bff08602e6 Merge pull request #436 from desbma/hddtemp-drive-label
Fix hddtemp drive label for devices not directly under /dev

Sorry for the delay !

Thk for the patch.
2014-11-12 13:33:39 +01:00
Nicolas Hennion
54b1efab68 Merge pull request #443 from hdiogenes/master
Spelling correction for "openned".
2014-11-12 13:31:46 +01:00
Humberto Diógenes
6fdb2fc67c Spelling: "openned" is wrong. Also, "open" is more adequate than "opened" in this context. 2014-11-10 17:00:04 -03:00
Alessio Sergi
de5118b822 core/glances_main.py: s/--disable_left_sidebar/--disable-process/ 2014-11-09 17:17:55 +01:00
Alessio Sergi
27a13a5b76 glances.1: remove duplicate entry for '--disable-network' (closes #441) 2014-11-09 16:56:45 +01:00
Nicolargo
39663d1c1e Some minor fix 2014-11-05 23:02:46 +01:00
Nicolas Hennion
d153dd29cf Add time sleep in the incomming loop 2014-11-04 17:51:05 +01:00
Nicolas Hennion
1e63e23e77 Add time sleep between server start and server announce 2014-11-04 17:38:57 +01:00
Nicolas Hennion
d902730b5d Add HR name in Glances system plugin 2014-11-03 17:33:51 +01:00