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 free command?

The free command displays system memory utilization. Here is an example of its output:
total used free shared buffers cachedMem: 255508 240268 15240 0 7592 86188-/+ buffers/cache: 146488 109020Swap: 530136 26268 503868
The Mem: row displays physical memory utilization, while the Swap: row displays the utilization of the system swap space, and the -/+ buffers/cache: row displays the amount of physical memory currently devoted to system buffers.
Since free by default only displays memory utilization information once, it is only useful for very short-term monitoring, or quickly determining if a memory-related problem is currently in progress. Although free has the ability to repetitively display memory utilization figures via its -s option, the output scrolls, making it difficult to easily detect changes in memory utilization.
Tip
A better solution than using free -s would be to run free using the watch command. For example, to display memory utilization every two seconds (the default display interval for watch), use this command:watch free
The watch command issues the free command every two seconds, updating by clearing the screen and writing the new output to the same screen location. This makes it much easier to determine how memory utilization changes over time, since watch creates a single updated view with no scrolling. You can control the delay between updates by using the -n option, and can cause any changes between updates to be highlighted by using the -d option, as in the following command:watch -n 1 -d free
For more information, refer to the watch man page.The watch command runs until interrupted with [Ctrl]-[C]. The watch command is something to keep in mind; it can come in handy in many situations.

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