Difference between revisions of "Vmstat"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man8/vmstat.8.html
Tags: Mobile web edit, Mobile edit |
|||
Line 1: | Line 1: | ||
− | <code>[[wikipedia:vmstat|vmstat]]</code><ref>http://man7.org/linux/man-pages/man8/vmstat.8.html</ref> ([[virtual memory]] statistics) is a [[command]] that displays information about [[operating system]] [[memory]], [[processes]], [[interrupts]], [[paging]] and [[I/O]] block. <code>vmstat</code> command is available at least in [[FreeBSD]], [[Linux]] or [[Solaris]]. | + | <code>[[wikipedia:vmstat|vmstat]]</code><ref>http://man7.org/linux/man-pages/man8/vmstat.8.html</ref> ([[virtual memory]] statistics) is a [[command]] that displays information about [[operating system]] [[memory]], [[processes]], [[interrupts]], [[paging]] and [[I/O]] block. <code>vmstat</code> command is available at least in [[FreeBSD]], [[Linux]] or [[Solaris]] and it is included in <code>[[procps]]</code> package in Debian and Ubuntu. |
Revision as of 05:12, 29 September 2020
vmstat
[1] (virtual memory statistics) is a command that displays information about operating system memory, processes, interrupts, paging and I/O block. vmstat
command is available at least in FreeBSD, Linux or Solaris and it is included in procps
package in Debian and Ubuntu.
vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 127568 94904 530064 0 0 6 56 23 79 0 0 99 1 0 0 0 0 127592 94904 530056 0 0 0 0 26 62 0 0 100 0 0 0 0 0 127592 94904 530056 0 0 0 0 26 61 0 0 100 0 0 0 0 0 127220 94904 530056 0 0 0 100 43 109 2 0 98 0 0 0 0 0 127220 94904 530056 0 0 0 0 39 60 0 1 99 0 0
Memory information:
Disk information:
See also
- proc
- IO performance:
iotop, iostat, sar -d, fio, nmon, vmstat -d
,dd
,nmon
,stress
- Swap,
swapon
,swapoff
,mkswap
,swaplabel
,free
,sar -r
,sar -S
,sar -W
,vmstat
,vm.swappiness
,/proc/swaps
,/etc/fstab
, Add a swap disk,systemd.swap
- OOM, EarlyOOM, OOM Killer, MemoryPressure (K8s),
systemd-oomd, OOMKilled, oom-killer, memcpy
,sar -r
,Exit code: 137
- performance
- uptime tload
Advertising: