Este contenido no está disponible en el idioma seleccionado.

A.8. vmstat


Vmstat outputs reports on your system's processes, memory, paging, block input/output, interrupts, and CPU activity. It provides an instantaneous report of the average of these events since the machine was last booted, or since the previous report.
-a
Displays active and inactive memory.
-f
Displays the number of forks since boot. This includes the fork, vfork, and clone system calls, and is equivalent to the total number of tasks created. Each process is represented by one or more tasks, depending on thread usage. This display does not repeat.
-m
Displays slab information.
-n
Specifies that the header will appear once, not periodically.
-s
Displays a table of various event counters and memory statistics. This display does not repeat.
delay
The delay between reports in seconds. If no delay is specified, only one report is printed, with the average values since the machine was last booted.
count
The number of times to report on the system. If no count is specified and delay is defined, vmstat reports indefinitely.
-d
Displays disk statistics.
-p
Takes a partition name as a value, and reports detailed statistics for that partition.
-S
Defines the units output by the report. Valid values are k (1000 bytes), K (1024 bytes), m (1,000,000 bytes), or M (1,048,576 bytes).
-D
Report summary statistics about disk activity.
For detailed information about the output provided by each output mode, see the man page:
Copy to Clipboard Toggle word wrap
$ man vmstat
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat, Inc.