|
|
199af3 |
diff -up iotop-0.6/iotop.8.gitdd4fcc71 iotop-0.6/iotop.8
|
|
|
199af3 |
--- iotop-0.6/iotop.8.gitdd4fcc71 2013-05-27 00:44:18.000000000 +0200
|
|
|
199af3 |
+++ iotop-0.6/iotop.8 2022-02-15 21:48:24.738610077 +0100
|
|
|
199af3 |
@@ -10,7 +10,8 @@ iotop watches I/O usage information outp
|
|
|
199af3 |
2.6.20 or later) and displays a table of current I/O usage by processes
|
|
|
199af3 |
or threads on the system. At least the CONFIG_TASK_DELAY_ACCT,
|
|
|
199af3 |
CONFIG_TASK_IO_ACCOUNTING, CONFIG_TASKSTATS and CONFIG_VM_EVENT_COUNTERS
|
|
|
199af3 |
-options need to be enabled in your Linux kernel build configuration.
|
|
|
199af3 |
+options need to be enabled in your Linux kernel build configuration and
|
|
|
199af3 |
+since Linux kernel 5.14, the kernel.task_delayacct sysctl enabled.
|
|
|
199af3 |
.PP
|
|
|
199af3 |
iotop displays columns for the I/O bandwidth read and written by each
|
|
|
199af3 |
process/thread during the sampling period. It also displays the percentage
|
|
|
199af3 |
diff -up iotop-0.6/iotop/data.py.gitdd4fcc71 iotop-0.6/iotop/data.py
|
|
|
199af3 |
--- iotop-0.6/iotop/data.py.gitdd4fcc71 2013-05-27 00:44:18.000000000 +0200
|
|
|
199af3 |
+++ iotop-0.6/iotop/data.py 2022-02-15 21:48:24.738610077 +0100
|
|
|
199af3 |
@@ -49,7 +49,7 @@ if not ioaccounting or not vm_event_coun
|
|
|
199af3 |
if not ioaccounting:
|
|
|
199af3 |
print(' - I/O accounting support ' \
|
|
|
199af3 |
'(CONFIG_TASKSTATS, CONFIG_TASK_DELAY_ACCT, ' \
|
|
|
199af3 |
- 'CONFIG_TASK_IO_ACCOUNTING)')
|
|
|
199af3 |
+ 'CONFIG_TASK_IO_ACCOUNTING, kernel.task_delayacct sysctl)')
|
|
|
199af3 |
if not vm_event_counters:
|
|
|
199af3 |
print(' - VM event counters (CONFIG_VM_EVENT_COUNTERS)')
|
|
|
199af3 |
sys.exit(1)
|
|
|
199af3 |
diff -up iotop-0.6/iotop/ui.py.gitdd4fcc71 iotop-0.6/iotop/ui.py
|
|
|
199af3 |
--- iotop-0.6/iotop/ui.py.gitdd4fcc71 2022-02-15 21:48:24.738610077 +0100
|
|
|
199af3 |
+++ iotop-0.6/iotop/ui.py 2022-02-15 21:50:55.382602220 +0100
|
|
|
199af3 |
@@ -467,7 +467,9 @@ class IOTopUI(object):
|
|
|
199af3 |
if Stats.has_blkio_delay_total:
|
|
|
199af3 |
status_msg = None
|
|
|
199af3 |
else:
|
|
|
199af3 |
- status_msg = ('CONFIG_TASK_DELAY_ACCT not enabled in kernel, '
|
|
|
199af3 |
+ status_msg = ('CONFIG_TASK_DELAY_ACCT '
|
|
|
199af3 |
+ 'and kernel.task_delayacct sysctl '
|
|
|
199af3 |
+ 'not enabled in kernel, '
|
|
|
199af3 |
'cannot determine SWAPIN and IO %')
|
|
|
199af3 |
num_lines = min(len(lines), self.height - 2 - int(bool(status_msg)))
|
|
|
199af3 |
for i in range(num_lines):
|
|
|
199af3 |
diff -up iotop-0.6/README.gitdd4fcc71 iotop-0.6/README
|
|
|
199af3 |
--- iotop-0.6/README.gitdd4fcc71 2013-05-27 00:44:18.000000000 +0200
|
|
|
199af3 |
+++ iotop-0.6/README 2022-02-15 21:48:24.738610077 +0100
|
|
|
199af3 |
@@ -1,7 +1,8 @@
|
|
|
199af3 |
Iotop is a Python program with a top like UI used to show of behalf of which
|
|
|
199af3 |
process is the I/O going on. It requires Python >= 2.7 and a Linux kernel >=
|
|
|
199af3 |
2.6.20 with the CONFIG_TASK_DELAY_ACCT CONFIG_TASKSTATS,
|
|
|
199af3 |
-CONFIG_TASK_IO_ACCOUNTING and CONFIG_VM_EVENT_COUNTERS options on.
|
|
|
199af3 |
+CONFIG_TASK_IO_ACCOUNTING and CONFIG_VM_EVENT_COUNTERS build options on
|
|
|
199af3 |
+and for Linux kernels since 5.14, the kernel.task_delayacct sysctl enabled.
|
|
|
199af3 |
|
|
|
199af3 |
|
|
|
199af3 |
To run a local version of iotop:
|