Iotop (µð½ºÅ© IO üũ ¸ð´ÏÅ͸µ)
¿ä±¸»çÇ×
iotop 0.4 ¹öÀü
Iotop is a Python program with a top like UI used to show of behalf of which process is the I/O going on.
It requires Python >= 2.5 (or Python >= 2.4 with the ctypes module) and a Linux kernel >= 2.6.20 with the
TASK_DELAY_ACCTCONFIG_TASKSTATS,
TASK_IO_ACCOUNTING and
CONFIG_VM_EVENT_COUNTERS options on.
¡Ø ÆÄÀÌ¼Ç 2.4¹öÀü¿¡¼ ÀÌ¿ëÇÏ·Á¸é ctypes ¸ðµâÀ» ¼³Ä¡ÇÏ¸é °¡´ÉÇÕ´Ï´Ù.
iotop 0.6 ¹öÀüÀÌ»ó
Iotop is a Python program with a top like UI used to show of behalf of which process is the I/O going on. It requires Python ¡Ã 2.7 and a Linux kernel ¡Ã 2.6.20 with the
TASK_DELAY_ACCTCONFIG_TASKSTATS,
TASK_IO_ACCOUNTING and
CONFIG_VM_EVENT_COUNTERS options on.
Ä¿³Î¸ðµâ ÇÊ¿ä
OS : CentOS 5.8 x86_64
# uname -r
2.6.39.4
# grep -r TASK_DELAY /usr/src/kernels/2.6.39.4/usr/src/kernels/2.6.39.4/kernel-config:CONFIG_TASK_DELAY_ACCT=y
# yum install -y python-devel
# yum install -y gcc
options:
--version show program's version number and exit
-h, --help show this help message and exit
-o, --only only show processes or threads actually doing I/O
-b, --batch non-interactive mode
-n NUM, --iter=NUM number of iterations before ending [infinite]
-d SEC, --delay=SEC delay between iterations [1 second]
-p PID, --pid=PID processes/threads to monitor [all]
-u USER, --user=USER users to monitor [all]
-P, --processes only show processes, not all threads
-a, --accumulated show accumulated I/O instead of bandwidth
-k, --kilobytes use kilobytes instead of a human friendly unit
-t, --time add a timestamp on each line (implies --batch)
-q, --quiet suppress some lines of header (implies --batch)
OS : Fedora 18 x86_64
# uname -r
3.11.10-100.fc18.x86_64
# yum install iotop
# rpm -qa |grep iotop
iotop-0.6-1.fc18.noarch
# iotop