Commit Graph

1484 Commits

Author SHA1 Message Date
desbma
1ba459e696 Sort lists in place when possible 2014-12-12 09:49:13 +01:00
Alessio Sergi
a6b2f7f63c glances_fs.py: simplify for loop iteration 2014-12-11 10:28:00 +01:00
Alessio Sergi
1c4da44eb9 Merge branch 'desbma-develop' into develop 2014-12-10 17:16:32 +01:00
desbma
901866a306 Fix issue when sorting by time with '--tree' option
When sorting by 'cpu_times', stats are returned as a pcputimes namedtuple,
with user and system CPU time, so they must be summed before numerical
comparison.

Close #453.
2014-12-10 17:12:17 +01:00
Alessio Sergi
af67cfcf83 Linux: add os-release support
Python's platform.linux_distribution() returns an empty tuple if a Linux
distribution is not part of the '_supported_dists' list.

Add a method to parse the os-release file, the new standard release file,
which replaces the multitude of per-distribution ones.

Also, platform.linux_distribution() is being deprecated and then removed
in future Python releases.
2014-12-08 18:00:00 +01:00
Alessio Sergi
c4b7efb2e9 Fix a crash in autodiscover mode when netifaces is not installed 2014-12-06 20:00:00 +01:00
Alessio Sergi
c9266ebf62 Prevent an issue when zeroconf is not updated while Glances is 2014-12-06 17:49:48 +01:00
Nicolargo
db6a4ff56c Merge branch 'develop' of github.com:nicolargo/glances into develop 2014-12-06 10:35:00 +01:00
Nicolargo
cd88420552 Add Pylint configuration file 2014-12-06 10:34:48 +01:00
Alessio Sergi
baa8ef1fd7 Misc tweaks
- fix help screen
- whitespace before ‘:’
- missing whitespace around operator
- function name should be lowercase
- class names should use CapWords convention
- fix various misspelling
2014-12-05 10:41:49 +01:00
Alessio Sergi
5da624c202 Remove i18n from log messages 2014-12-04 17:04:50 +01:00
Alessio Sergi
d398cf0f1f Remove unused and duplicate import statements
Clean up import order.
2014-12-04 13:04:49 +01:00
Alessio Sergi
5b78805b68 Fix blind except statements 2014-12-04 12:27:27 +01:00
Alessio Sergi
ed0ef18456 setup.py: zeroconf and netifaces are optional dependencies
Move them to extras_require.
2014-12-04 10:49:49 +01:00
Nicolargo
dafcc65d5c Log if Zeroconf < 0.16 is detected 2014-12-03 23:16:34 +01:00
Nicolargo
03743421f0 Change the function to get the IPv4 active address to use in the autodiscover mode (issue #452) 2014-12-03 22:51:14 +01:00
Nicolargo
b743d6ace0 Zeroconf API change - Need Zeroconf 0.16 or higher 2014-12-03 19:04:04 +01:00
Alessio Sergi
ca467765fc core/glances_client_browser.py: ensure rounding to 2 decimal places for load stat
Close #450.
2014-12-03 12:00:00 +01:00
Nicolargo
43027f4a39 Upgrade status in the browser list 2014-12-02 22:40:59 +01:00
Nicolargo
84e4d77a21 Merge branch 'develop' of github.com:nicolargo/glances into develop 2014-12-02 19:18:17 +01:00
Nicolargo
c0a98cc7d2 Correct browser mode issue and alias name 2014-12-02 19:17:43 +01:00
Alessio Sergi
3367981d11 core/glances_client_browser.py: fix cpu stat visualization under python3 2014-11-29 20:04:48 +01:00
Alessio Sergi
2dc3de8956 outputs/glances_curses.py: fix browser mode with python3 2014-11-29 18:48:48 +01:00
Nicolargo
2de175c9f2 Process sort bu CPU times (TIME+) with the t key 2014-11-29 17:31:20 +01:00
Nicolargo
3ae2a0ce98 Add Slackware packager 2014-11-29 14:12:25 +01:00
Nicolargo
b245136d8d Add patch for pip user install (thk to @asergi) (correct issue #383) 2014-11-29 11:15:08 +01:00
Nicolargo
1bc15ad7c0 Merge branch 'feature/issue418' into develop 2014-11-29 10:18:28 +01:00
Nicolargo
7c78b4db53 Update documentation 2014-11-29 10:17:39 +01:00
Nicolargo
0463d0df3b Finalise the feature 2014-11-29 09:41:47 +01:00
Nicolargo
5ca213335a Patch from Philip Lacroix 2014-11-29 09:24:32 +01:00
Nicolargo
ae8cdefca3 Check socket error if no network interface available 2014-11-29 09:21:40 +01:00
Nicolas Hennion
6105c493e0 Allow user to run browser without Zeroconf 2014-11-25 11:42:24 +01:00
Nicolargo
bd768aa4da Feature ready. UX to be refactor 2014-11-24 21:47:18 +01:00
Nicolargo
e3d84c79b2 Add static server list 2014-11-24 21:02:43 +01:00
Nicolargo
dbfe9ca722 Ready to code the static list 2014-11-23 22:07:39 +01:00
Nicolargo
7044f27935 Display a specific message during the first scan 2014-11-23 11:31:13 +01:00
Nicolargo
8a20b5d98c Autodiscover mode completed 2014-11-23 10:40:06 +01:00
Nicolargo
f7864afd11 Make client login/password works again with timeout ! 2014-11-22 21:17:48 +01:00
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