Commit Graph

1099 Commits

Author SHA1 Message Date
Alessio Sergi
df0477ffa6 Fix string format conflicts 2014-05-08 15:28:27 +02:00
Alessio Sergi
6c3ea7f293 Fix wrong display in memory and swap 2014-05-07 17:27:00 +02:00
Alessio Sergi
3687321b30 Miscellaneous fixes and improvements
Rules of thumb:
- setup.py only <=, >=
- requirements.txt only ==
2014-05-07 16:59:59 +02:00
Nicolargo
c3ba3f64e6 Add args visibility to the plugins to handle with the SNMP server properties (address, community...) 2014-05-07 11:06:53 +02:00
Nicolargo
2fec33adf3 Change connection message. Add SNMP client 2014-05-07 09:53:57 +02:00
Nicolargo
6a3701f388 Correct encoding/deconfing problem with special caracter 2014-05-07 09:39:06 +02:00
Nicolargo
2222cf0fbc SNMP client: all plugin OK except processing list. To hight CPU consump with the standard loop 2014-05-06 23:20:27 +02:00
Nicolargo
ff5bbefa1b Difficult to get CPU core number via SNMP. Bypass 2014-05-06 22:32:49 +02:00
Alessio Sergi
6fa10b5a2b Process list: Highlight process niceness
Highlight the nice value of a process when is different from 0.
Add 'NICE' decoration for managing color.
2014-05-06 16:36:36 +02:00
Alessio Sergi
29fdeec161 Add 'PROCESS' and 'STATUS' decorations
It's now possible to define specific colors for both process name and
process status.
2014-05-06 16:06:49 +02:00
Nicolargo
7d4024a9f0 SNMP grab OK for file system 2014-05-06 15:37:43 +02:00
Alessio Sergi
15ea33461f Process list: Highlight process basename
Neither regex, nor str.find() were used. Yeah!
2014-05-06 13:07:05 +02:00
Alessio Sergi
d452b5b76f Revert "Process list: Highlight process basename"
The regex makes Glances crash when the system is under heavy load,
e.g., during compilation of packages.

This reverts commit 565ec32ffe.
2014-05-05 15:00:00 +02:00
Nicolargo
5cbe52aa39 SNMP client: Network interface is OK but high CPU consumption 2014-05-04 23:05:45 +02:00
Alessio Sergi
4d89b55ed8 Process list: Highlight running processes 2014-05-04 12:29:59 +02:00
Alessio Sergi
565ec32ffe Process list: Highlight process basename 2014-05-04 12:00:00 +02:00
Nicolargo
8bb9244bb9 First try for SNMP net interface: had to be optimised with bulk requests 2014-05-03 23:39:26 +02:00
Nicolargo
e72960ce19 SNMP input: Mem and MemSwap 2014-05-03 16:02:22 +02:00
Nicolargo
d68c991a33 SNMP input: Uptime and CPU 2014-05-03 14:47:38 +02:00
Nicolargo
66525c6efc Factorisation of the SNMP set 2014-05-02 15:42:04 +02:00
Nicolargo
d2ba067f18 Change almost all the plugins to host the SNMP input plugins 2014-05-02 15:26:45 +02:00
Nicolargo
879ec5eb58 Structure and file for the SNMP client 2014-05-02 10:00:10 +02:00
Alessio Sergi
ddd000e806 CPU attributes overhaul
Move 'idle' back to the first column (non-optional) because
is available on all platforms supported by Glances/psutil.

In the second column (optional), attributes are now sorted by
descending order of availability (they are depending on the platform).
2014-05-01 15:51:05 +02:00
Alessio Sergi
f607396e99 Fix strings 2014-05-01 12:52:18 +02:00
Nicolargo
f47dd40396 Add Python Dev requirement 2014-05-01 10:37:25 +02:00
Nicolargo
037ec87c53 Correct a bug if sensor label is higher than 18 chars 2014-04-30 16:47:19 +02:00
Nicolargo
0a615b95f6 Correct issue #346 if drive is removed during the FS grab 2014-04-27 17:54:29 +02:00
Nicolargo
8fcc70049d Margin between rights stats on the Web Interface 2014-04-27 11:52:41 +02:00
Nicolargo
47b3f5d833 Monitor list: change message property 2014-04-27 11:11:57 +02:00
Nicolargo
254192e4de Do not display load stat in Web interface if not available 2014-04-27 10:47:03 +02:00
Nicolargo
bc26e37dfb Init stats on error 2014-04-26 20:12:21 +02:00
Nicolargo
7ce0383eae Manage unicode decode error on Windows OS 2014-04-26 15:52:59 +02:00
Nicolargo
cb3b3de783 Except for Win load 2014-04-25 23:16:12 +02:00
Alessio Sergi
210d1692fc Fix running Glances on non-Linux OSes 2014-04-23 20:04:15 +02:00
Alessio Sergi
6e7c3a275e Use parentheses sparingly in conditional statements
Mandatory only for multi-line continuation
2014-04-23 12:23:23 +02:00
Nicolas Hennion
623294e8be Merge pull request #345 from cgar/igor
few mispelling errors
2014-04-22 21:55:59 +02:00
Carlos E. Garcia
849a2c1006 few mispelling errors 2014-04-22 15:05:03 -04:00
Alessio Sergi
3012662a92 CLI overhaul
To be continued...
2014-04-22 16:22:22 +02:00
Nicolargo
181e27dd40 Update configuration file 2014-04-21 21:38:25 +02:00
Nicolargo
b76caef417 Correct bad display for %memswap 2014-04-21 21:22:49 +02:00
Nicolargo
305078a639 Add python-dev pre-requisites 2014-04-19 16:36:13 +02:00
Alessio Sergi
2a2c893836 Fix python 2.6 in client/server mode 2014-04-17 18:32:59 +02:00
Alessio Sergi
b7bbd69a65 Complete overhaul of imports
Explicit is better than implicit.
2014-04-17 17:10:39 +02:00
Nicolas Hennion
db37ff4ad2 Remove TODO file 2014-04-17 13:07:04 +02:00
Alessio Sergi
45d6b2521b Fix python 2.6 compatibility
Add argparse as requirement when running on python 2.6.
2014-04-15 16:59:03 +02:00
Alessio Sergi
9cf956b881 Fix deprecation warnings.
Drop psutil < 2.0 leftovers.
2014-04-15 12:55:15 +02:00
Alessio Sergi
e17b4b61cf Remove shebang in python scripts that aren't directly executable 2014-04-15 01:05:15 +02:00
Alessio Sergi
f709b6ae4a Fix python3 (again) 2014-04-14 19:55:55 +02:00
Alessio Sergi
9a402d013b ConnectionRefusedError exception is Python 3 only. Back to socket.error. 2014-04-14 19:44:44 +02:00
Nicolas Hennion
3cbf54e3ed Alpha 02 2014-04-13 22:00:28 +02:00