Co robi VMSTAT użycie. Konsola processes, memory, paging block I/O, traps, system and CPU usage.

Czy przydatne?

Polecenie vmstat

Wykonanie, użycie: System administration command. Print report on virtual memory statistics, including information on processes, memory, paging block I/O, traps, system and CPU usage. vmstat initially reports average values since the last system reboot. If given a sampling period interval in seconds, it prints additional statistics for each interval. If specified, vmstat exits when it has completed count reports. Otherwise, it continues until it receives a Ctrl-C, printing a new header line each time it fills the screen

Opcje wykonania vmstat w konsoli


Display active and inactive memory.


Display disk statistics.


Display the number of forks since the system was booted.


Display the names and sizes of various kernel objects stored in a cache known as the slab layer. Also see the slabtop command.


Don't print new header lines when the screen is full.

-p partition

Display detailed statistics for the specified partition.


Display various even counters and memory statistics.

-S units

Switch the output units. Possible values are k, K, m or M.


Print version number, then exit.

Przykłady vmstat działanie w Słownik polecenie V

Przykład VMSTAT użycie :
Jak użyć Return the volume name for a device such as a CD-ROM that was formatted with an ISO-9660 filesystem. The default device file devfile is /dev/cdrom co znaczy.
Przykład VMSTAT użycie :
Jak użyć directory contents. Equivalent to ls -lb . By default, list the current directory. Directory entries are sorted alphabetically unless overridden by an option. vdir takes the same options as ls krzyżówka.
Przykład VMSTAT użycie :
Jak użyć administration command. Set the video mode for a kernel image . If no arguments are specified, print current mode value. mode is a 1-byte value located at offset 506 in a kernel image. You may change co to jest.
Przykład VMSTAT użycie :
Jak użyć An enhanced version of the vi screen editor. Both vi and vim are covered in Chapter 9 słownik.
Przykład VMSTAT użycie :
Jak użyć A screen-oriented text editor based on ex . vi is bi-modal, with a command mode and an insert mode. For more information on vi , see Chapter 9 czym jest.