Commit Graph

1165 Commits

Author SHA1 Message Date
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
desbma
712b7421ba Fix tree construction on Windows 2014-11-16 22:00:48 +01:00
desbma
415e9dcbd2 Another fix for Python 2 2014-11-16 21:21:52 +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
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
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
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
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
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
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
desbma
afc73f053c Fix hddtemp drive label for devices not directly under /dev 2014-10-30 22:23:05 +01:00
Nicolas Hennion
905931bf8c Merge pull request #435 from desbma/develop
Minor cosmetic fixes

Merci pour la contrib ;)
2014-10-30 13:29:47 +01:00
desbma
0f535c2c22 Fix misspelling in process list 2014-10-30 12:58:33 +01:00
desbma
e1299daa2e Fix incorrect log file path in doc 2014-10-30 12:53:28 +01:00
Nicolas Hennion
0669dcb189 Another catch for NoSuchProcess - Correct issue #414 2014-10-28 08:58:43 +01:00
Nicolargo
bc660feb2e Python3 compliance for decorator 2014-10-26 12:29:45 +01:00
Nicolargo
412b8afc0c Correct issue #433 on battery percent update 2014-10-25 16:13:35 +02:00
Nicolargo
4abad6e89a Add a key ('F') and a command line option (--fs-free-space) to display FS free space instead of used space (issue #411) 2014-10-19 21:42:26 +02:00
Nicolargo
ca9ab6a751 Anothers try/except for NoSuchProcess (issue #414 and #432 2014-10-19 16:32:58 +02:00
Nicolargo
1c79191800 Disable process stat extended by default (issue #430) 2014-10-19 16:21:22 +02:00
Nicolargo
ed30ebf72b Complete graph history feature #428 2014-10-19 16:05:16 +02:00
Nicolargo
41342c8133 Add Network, FS, diskio to the graph generation feature 2014-10-16 22:34:44 +02:00
Nicolargo
94614e1f18 Add a configuration key to set the gaph ouput folder --output-history - issue #428 2014-10-12 15:53:16 +02:00
Nicolargo
7edcd3e467 Verbose message if the MatPlotLib lib is not installed - issue #428 2014-10-12 15:03:33 +02:00