Skip to content
New Year Savings Event - Get up to 50% off
Schedule a Call with Sales
Hivelocity_logo_redblk
  • Products
    • ---
      • Dedicated Servers 50+ global data centers ready to deploy
        from
      • VPS Hosting Industry leading price per performance
        from
      • VDS HostingEnhanced performance and flexibility
        from
    • ---
      • Enterprise Cloud
        Powered by VMware’s industry
        leading virtualization technology
        Enterprise Cloud
        Powered by VMware’s industry
        leading virtualization technology
        Learn More
      • Colocation
        Your infrastructure without
        constraints
        Colocation
        Your infrastructure without
        constraints
        Learn More
  • Solutions
    • ---
      • Financial services
      • Ad Serving
    • ---
      • Partner program
  • Services
    • ---
      • Data Migration
      • Server Management
      • DDoS Protection
      • Firewall
    • ---
      • Backups
      • Cloud Object Storage
      • Colo-Cloud Backup
      • Solution Portability
  • Data Centers
    • ---
      • Data Center Locations 50+ data centers across 6 continents
      • Network Looking Glass Test our network
      • Service StatusView our current up-time report
    • ---
      • Data centers map
  • Developers
    • ---
      • API ReferencePurchase, deploy and manage with our API
      • Product DocsGet a deeper understanding of our products
      • Terraform ProviderTerraform provider for Hivelocity
  • Pricing
  • Support
  • Log In
Your Webhosting Questions
Answered by the Webhosting Experts
See where the internet lives
Back to: System
Create a Free Account
Chat with an Expert
Configure a Bare Metal Server
Latest
Categories +
  • Account
  • System
...
  • Account
  • Applications
  • Compute
  • Database
  • Dedicated Server
  • Developers
  • Enterprise Cloud
  • Network
  • Security
  • Storage
  • System
  • VPS

How do I use the vmstat command?

For a more concise understanding of system performance, try vmstat. With vmstat, it is possible to get an overview of process, memory, swap, I/O, system, and CPU activity in one line of numbers:

procs memory swap io system cpu
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 5276 315000 130744 380184 1 1 2 24 14 50 1 1 47 0

The first line divides the fields in six categories, including process, memory, swap, I/O, system, and CPU related statistics. The second line further identifies the contents of each field, making it easy to quickly scan data for specific statistics.

The process-related fields are:

r — The number of runnable processes waiting for access to the CPU

b — The number of processes in an uninterruptible sleep state

The memory-related fields are:

swpd — The amount of virtual memory used

free — The amount of free memory

buff — The amount of memory used for buffers

cache — The amount of memory used as page cache

The swap-related fields are:

si — The amount of memory swapped in from disk

so — The amount of memory swapped out to disk

The I/O-related fields are:

bi — Blocks sent to a block device

bo — Blocks received from a block device

The system-related fields are:

in — The number of interrupts per second

cs — The number of context switches per second

The CPU-related fields are:

us — The percentage of the time the CPU ran user-level code

sy — The percentage of the time the CPU ran system-level code

id — The percentage of the time the CPU was idle

wa — I/O wait

When vmstat is run without any options, only one line is displayed. This line contains averages, calculated from the time the system was last booted.

However, most system administrators do not rely on the data in this line, as the time over which it was collected varies. Instead, most administrators take advantage of vmstat’s ability to repetitively display resource utilization data at set intervals. For example, the command vmstat 1 displays one new line of utilization data every second, while the command vmstat 1 10 displays one new line per second, but only for the next ten seconds.

In the hands of an experienced administrator, vmstat can be used to quickly determine resource utilization and performance issues. But to gain more insight into those issues, a different kind of tool is required — a tool capable of more in-depth data collection and analysis.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.

What type of server do you need?
see all

Virtual Private Servers

Enjoy scalable resources and affordability - ideal for growing projects that don’t need fully dedicated resources.

see all

Dedicated Servers

Full control, high performance, and maximum security with servers that are 100% yours

see all

Enterprise Cloud

Scalable, secure infrastructure built for businesses that need high availability and custom architecture.

  • Products & Solutions
  • Dedicated Servers
  • Enterprise Cloud
  • VDS Hosting
  • VPS Hosting
  • Colocation
  • Storage Servers
  • Game Server Solutions
  • Solana Validator
  • Ollama Hosting
  • Custom Solutions
  • Services
  • Disaster Recovery
  • Cloud Connect Backup & Replication
  • Colo-Cloud Backup & Recovery
  • Data Migration
  • Server Management
  • DDoS Protection
  • Firewall
  • Rapid Restore
  • cPanel Flat Rate Pricing
  • Unmetered Ports
  • SSL Certificates
  • Portability Program
  • Resources
  • myVelocity Portal
  • API Documentation
  • Knowledge Base
  • Looking Glass Network
  • Case Studies
  • Blog & News
  • Competitor Comparison
  • Hivelocity Reviews
  • Company
  • About Us
  • Events
  • Data Center Locations
  • Our Team
  • Careers
  • Partner Program
  • Customer Referral
  • Bug Bounty Program
  • Contact Us
Deploy in minutes.
Create a free account to get started.
Get Started
Follow us:
American ExpressVisaMastercardPaypalCrypto
© Hivelocity, Inc 2026. All rights reserved.
  • Legal Information
  • Privacy Notice
  • Terms of Service
  • Billing Agreement
  • Abuse
learn more