diff options
-rw-r--r-- | HISTORY | 3 | ||||
-rw-r--r-- | examples/iotop.py | 2 | ||||
-rw-r--r-- | examples/process_detail.py | 1 |
3 files changed, 2 insertions, 4 deletions
@@ -1,6 +1,6 @@ Bug tracker at http://code.google.com/p/psutil/issues -0.4.0 - XXXX-XX-XX +0.4.0 - 2011-10-29 ------------------ NEW FEATURES @@ -17,6 +17,7 @@ NEW FEATURES * Issue 221: (FreeBSD) Process.get_open_files has been rewritten in C and no longer relies on lsof. * Issue 223: examples/top.py script. + * Issue 227: examples/nettop.py script. BUGFIXES diff --git a/examples/iotop.py b/examples/iotop.py index eedb7f9f..80ca9735 100644 --- a/examples/iotop.py +++ b/examples/iotop.py @@ -126,7 +126,6 @@ def refresh_window(procs, disks_read, disks_write): """Print results on screen by using curses.""" curses.endwin() templ = "%-5s %-7s %11s %11s %s" - interval = 0 win.erase() disks_tot = "Total DISK READ: %s | Total DISK WRITE: %s" \ @@ -147,7 +146,6 @@ def refresh_window(procs, disks_read, disks_write): except curses.error: break win.refresh() - interval = 1 def main(): try: diff --git a/examples/process_detail.py b/examples/process_detail.py index e58cf1d9..afec3ca0 100644 --- a/examples/process_detail.py +++ b/examples/process_detail.py @@ -16,7 +16,6 @@ import socket import sys import psutil -from psutil._compat import namedtuple def convert_bytes(n): |