IOTOP Àº ¼¹ö¿¡¼ ÀϾ´Â input / output ¿¡ ´ëÇؼ ÀÚ¼¼È÷ º¸¿©ÁÖ´Â ¸ð´ÏÅ͸µ Åø ÀÔ´Ï´Ù.
¼¹ö¿¡¼ ´©±º°¡ I/O ¸¦ ¸¹ÀÌ »ç¿ëÇÑ´Ù ½ÍÀ» ¶§ ÇØ´çÅøÀ» ÀÌ¿ëÇÏ¿© üũ ¹× °¨½Ã¸¦ Çϸé ÁÁ½À´Ï´Ù.
IOTOP Àº CentOS 5.8 À̻󿡼 ¼³Ä¡ µË´Ï´Ù
[root@------/]# iotop -h
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)
»ùÇà ¸í·É¾î
iotop -o
½ÇÁ¦ IO °¡ ¹ß»ýÇÑ ÇÁ·Î¼¼½º¸¸ º¸¿©ÁÝ´Ï´Ù.
iotop ½ÇÇàÇϽðí o ¸¦ ´·¯µµ µË´Ï´Ù.
iotop -k
IO ÀÇ ¿ë·® Ç¥½Ã ´ÜÀ§´Â ±âº» B ÀÔ´Ï´Ù. À̸¦ KB ´ÜÀ§·Î º¸¿©ÁÝ´Ï´Ù.
iotop -a
iotop -a À» ½ÇÇàÇÑ ¼ø°£ºÎÅÍ ½ÃÀÛÇÏ¿© ÀڷḦ ´©ÀûÇÏ¿© º¸¿©ÁÝ´Ï´Ù.
¾î¶² Process ¿Í User °¡ °¡Àå ¸¹ÀÌ »ç¿ëÇÏ°í ÀÖ´ÂÁö üũÇϱâ ÁÁ°Ú³×¿ä.
iotop -a -u euc
¿É¼ÇµéÀ» È°¿ëÇÏ¿© euc ¶ó´Â À¯ÀúÀÇ ±â·ÏÀ» ´©Àû½ÃÄѼ º¸´Â ¿É¼ÇÀÌ´Ù.
|