- Manage a two level tree of processes:
commit077c9974ebbc0e453942a4a0ab5f56c040e0c15e
authorGuillaume Chazarain <guichaz@gmail.com>
Sun, 29 Mar 2009 21:21:09 +0000 (29 23:21 +0200)
committerGuillaume Chazarain <guichaz@gmail.com>
Sun, 29 Mar 2009 21:21:09 +0000 (29 23:21 +0200)
tree49653be5410c9a47d25bc47a144c9e51e591f525
parent68e288e5cddc91fe0b5f0d33d0b896ad1cdb2c30
- Manage a two level tree of processes:
o with --processes: [tgids...] -> [tid...]
o without: [tids...] -> [tid]
=> This handles nicely the case where a thread dies during a sampling period
and we should drop its stats.
- Don't cache the ioprio as it may change
- Get the total I/O bandwidth from /proc/vmstat instead of summing it, as we
can count some of it twice (ntfs-3g, nfsd...)
iotop/data.py
iotop/ui.py
iotop/vmstat.py [new file with mode: 0644]