diff options
author | Eugeni Dodonov <eugeni@mandriva.com> | 2009-09-29 19:57:46 -0300 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.com> | 2009-09-29 19:57:46 -0300 |
commit | 77f64c8ce8507633a6b60e9de23e993247eee3ee (patch) | |
tree | f50f85c61b1f3c8b952f261069998674fd6e5345 | |
parent | 5456ed341f446b28af508f7f4e4b6b39dba5f8cd (diff) | |
download | net_monitor-77f64c8ce8507633a6b60e9de23e993247eee3ee.tar net_monitor-77f64c8ce8507633a6b60e9de23e993247eee3ee.tar.gz net_monitor-77f64c8ce8507633a6b60e9de23e993247eee3ee.tar.bz2 net_monitor-77f64c8ce8507633a6b60e9de23e993247eee3ee.tar.xz net_monitor-77f64c8ce8507633a6b60e9de23e993247eee3ee.zip |
improve graphs
-rw-r--r-- | TODO | 1 | ||||
-rwxr-xr-x | src/net_monitor | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -12,3 +12,4 @@ TODO for net_monitor: - advanced network statistics (/proc/net/netstat) - socket statistics - ip forwarding (/proc/sys/net/ipv4/ip_forward) + - graphs: correctly shift values diff --git a/src/net_monitor b/src/net_monitor index ba5939b..42524e7 100755 --- a/src/net_monitor +++ b/src/net_monitor @@ -146,7 +146,7 @@ class LoadGraph: self.__set_context_color(self.__context, color) x = self.__inner.x + self.__mesh_x - for i in bw_list[:-1]: + for i in bw_list[1:]: self.__context.line_to(x, i) x += self.__mesh_x self.__context.stroke() |