CONTENT
  • CHANGES
Szukaj
counter

#top iotop


iotop - simple top-like I/O monitor

Powiązane:
iotop, lsof, pidof, ps, top,

SYNOPSIS
iotop [OPTIONS]


DESCRIPTION



OPTIONS
--version
Show the version number and exit

-h, --help
Show usage information and exit

-o, --only
Only show processes or threads actually doing I/O, instead of showing all processes or threads. This can be dynamically toggled by pressing o.

-b, --batch
Turn on non-interactive mode. Useful for logging I/O usage over time.

-n NUM, --iter=NUM
Set the number of iterations before quitting (never quit by default). This is most useful in non-interactive mode.

-d SEC, --delay=SEC
Set the delay between iterations in seconds (1 second by default). Accepts non-integer values such as 1.1 seconds.

-p PID, --pid=PID
A list of processes/threads to monitor (all by default).

-u USER, --user=USER
A list of users to monitor (all by default)

-P, --processes
Only show processes. Normally iotop shows all threads.

-a, --accumulated
Show accumulated I/O instead of bandwidth. In this mode, iotop shows the amount of I/O processes have done since iotop started.

-k, --kilobytes
Use kilobytes instead of a human friendly unit. This mode is useful when scripting the batch mode of iotop. Instead of choosing the most appropriate unit iotop will display all sizes in kilobytes.

-t, --time
Add a timestamp on each line (implies --batch). Each line will be prefixed by the current time.

-q, --quiet
suppress some lines of header (implies --batch). This option can be specified up to three times to remove header lines.
-q
column names are only printed on the first iteration,
-qq
column names are never printed,
-qqq
the I/O summary is never printed.



EXAMPLES
Poniższe polecenie wyświetlaja w sposób ciągły informacje o uruchomionych procesach posortowane od procesu w korzystającego najintensywniej z operacji I/O:
Aby przerwać należy nacisnąc CTRL+C
iotop

iotop -d 1 -n 3
Powyższe polecenie wykona trzy iteracje co sekunda wyświetlając informacje o procesach wykonujących operacje I/O:
Total DISK READ: 144.77 K/s | Total DISK WRITE: 167.63 K/s
  TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>    COMMAND
 1126 be/4 root        0.00 B/s  133.34 K/s  0.00 % 37.90 % [kjournald]
 2680 be/4 postgres    0.00 B/s   30.48 K/s  0.00 % 34.86 % postgres: wal writer process
 5085 be/4 qemu       19.05 K/s   68.57 K/s  0.00 %  2.10 % qemu-kvm -S -M rhel6.0.0 -cpu qemu32 -enable-kvm -m 512 -smp 2,sockets=1,cores=2,thread~7,id=sound0,bus=pci.0,addr=0x6 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7
 3115 be/4 squid       3.81 K/s    0.00 B/s  0.00 %  1.71 % (squid) -f /etc/squid/squid.conf
 9458 be/4 qemu        0.00 B/s   68.57 K/s  0.00 %  0.57 % qemu-kvm -S -M rhel6.0.0 -cpu qemu32 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,thread~7,id=sound0,bus=pci.0,addr=0x4 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
25330 be/4 postgres  121.91 K/s   99.05 K/s  0.00 %  0.00 % postgres: autovacuum worker process   workbot
 4096 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % bash
    1 be/4 root        0.00 B/s    0.00 B/s  0.00 %  0.00 % init
[...]




Zmodyfikowany ostatnio: 2015/12/03 14:45:21 (9 lat temu), textsize: 4,40 kB, htmlsize: 5,17 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników