

Non-nice CPU ticks – the number of times the CPU was used for high priority processes.The second section displays CPU statistics: The first section of the output deals with the amount of used memory:Ģ. For example, the output splits the nice and non-nice CPU time, which are combined in the basic vmstat report.ġ. The output shows a report similar to the vmstat basic report, with more details in some sections. To view the information, run this command: vmstat -a These columns display the amount of inactive and active memory in a system. Using the -a option replaces the buff and cache memory columns with inact and active columns. Inactive memory is memory that was allocated to a process which is no longer running. st – The percentage of CPU time stolen by a virtual machine.ĭisplay Active and Inactive System MemoryĪctive memory is memory in use by a process.wa – The percentage of CPU time spent waiting for Input/Output.sy – The percentage of CPU time spent on kernel processes.us – The percentage of CPU time spent on non-kernel processes.cs – The number of context switches per second.bo – Blocks sent to a block device per second.bi – Blocks received from a block device per second.so – The rate of swapping-out memory to disk.si – The rate of swapping-in memory from disk.buff – Total memory temporarily used as a data buffer.However, the kernel starts using swap space as the system’s physical memory reaches its limit. The basic output of the vmstat command displays system information in six sections. For additional reports, use vmstat options, delay, and count. Run vmstat without parameters to display a system report with average statistics since the last boot.Ĥ. Enter your password and wait for the installation to finish.ģ. If you don’t have vmstat on your machine, install it by running:įor CentOS and RHEL systems: sudo yum install sysstatįor Fedora 22+ systems: sudo dnf install sysstatįor Ubuntu and Debian based systems: sudo apt-get install sysstatĢ. The sysstat package is available on Linux by default.ġ. The vmstat command is a part of sysstat, system monitoring tools, which generate CPU and device statistics and reports. If count isn’t set, the default value is infinite.ĭisplays the header only once rather than periodically.ĭisplays a table of various event counters and memory statistics. Count – the number of output updates after the specified delay interval.Delay – defines the time elapsed between output updates.Options – various switches to customize the output.
