Commit Graph

1484 Commits

Author SHA1 Message Date
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
desbma
63cc4e79fd Fix Unix specific argument used on Windows, causing an exception 2014-11-03 16:39:20 +01:00
Nicolas Hennion
1022ac4168 Add new debug log message 2014-11-03 16:38:28 +01:00
Nicolas Hennion
8dbd792376 Merge pull request #439 from desbma/hide-kernel-threads
Fix Unix specific argument used on Windows, causing an exception.
No problem @desbma Thk for the fix !
2014-11-03 16:37:09 +01:00
desbma
2ab46a88b3 Fix Unix specific argument used on Windows, causing an exception 2014-11-03 16:21:27 +01:00
Nicolas Hennion
d503fca2b0 Add debug message for Glances server announce 2014-11-03 13:41:52 +01:00
Nicolargo
5addb9a9b7 Browser OK 2014-11-02 21:42:16 +01:00
desbma
0659ca9f8d Add command line option to ignore kernel threads on Unix systems 2014-11-01 15:23:50 +01:00
desbma
12332f4a24 Fix some misspellings 2014-11-01 15:23:38 +01:00
Nicolas Hennion
cf27453622 Merge pull request #438 from desbma/hide-kernel-threads
Add a command line option to hide kernel threads.
Thk for the contrib.
Will have a look on the feature and check if it will be a nice to have it enabled by default.
2014-11-01 15:21:19 +01:00
Nicolargo
fda1085db0 Add netifaces optionnal dependancy 2014-11-01 15:20:16 +01:00
desbma
523b63eb84 Add command line option to ignore kernel threads on Unix systems 2014-10-31 23:49:32 +01:00
desbma
f23c328e0d Fix some misspellings 2014-10-31 23:43:22 +01:00