diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2011-10-29 03:30:41 +0000 |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2011-10-29 03:30:41 +0000 |
commit | 3d2a976a1c61174ac0d46b9f1b020ca0cd9d6110 (patch) | |
tree | e354120c4a685e42f9b95113081024bf3c8f3ac7 | |
parent | 7412c40e18f31e79123c9973d7a3b1eb4cd5fd29 (diff) | |
download | psutil-3d2a976a1c61174ac0d46b9f1b020ca0cd9d6110.tar.gz |
last minute cleanups + update HISTORYrelease-0.4.0
-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): |