Guidance on writing a top-like console

Tim Chase python.list at tim.thechases.com
Fri Feb 27 17:35:14 EST 2009


> I am interested in writing an application that functions like a Unix
> or Linux top in the way it displays data.
> It should be command-line based but dynamically refreshing.

You might look at the sourcecode for "iotop"[1] which would make 
a good example (it's a "top"-like program written in Python, used 
for monitoring I/O transactions on a per-process basis)

-tkc


[1]
http://guichaz.free.fr/iotop/








More information about the Python-list mailing list