Tech Junkie Blog - Real World Tutorials, Happy Coding!: Linux Performance: vmstat Command

Monday, May 16, 2022

Linux Performance: vmstat Command

 vmstat is used to report virtual memory stats on your Linux system.  It is helpful to see how much free memory you have left on your system.

As with top you can run the command by typing vmstat, it defaults to kilobytes




You can change the default measure unit by specifying the unit like this vmstat -S m, this will run the command in millibytes, we can see that we have 372 MB of memory free and 1 MB of buffer




You can also run vmstat in intervals by typing the following command vmstat 3 5, the command tells vmstat to run every 3 seconds for five times



1 comment:

  1. Thanks for sharing valuable information,
    Rocks Player is the ultra HD video player and audio player which is fast and easy to use. It is designed to support different video formats like MKV, MPEG, MP4, 4K, and 8K. So, you can easily play HD and ultra HD videos on your device. This Media Player is a 4k video downloader for Android to play a several YouTube and other recordings through various portable and resizable drifting windows. You can keep watching your favorite content on any side of a big screen while looking at your Facebook profile on another side.

    ReplyDelete

Search This Blog