Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Troubleshooting CentOS

You're reading from   Troubleshooting CentOS A practical guide to troubleshooting the CentOS 7 community-based enterprise server

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781785289828
Length 190 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Jonathan Hobson Jonathan Hobson
Author Profile Icon Jonathan Hobson
Jonathan Hobson
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Basics of Troubleshooting CentOS FREE CHAPTER 2. Troubleshooting Active Processes 3. Troubleshooting the Network Environment 4. Troubleshooting Package Management and System Upgrades 5. Troubleshooting Users, Directories, and Files 6. Troubleshooting Shared Resources 7. Troubleshooting Security Issues 8. Troubleshooting Database Services 9. Troubleshooting Web Services 10. Troubleshooting DNS Services Index

Managing memory with vmstat

A different aspect of memory management can be achieved by using the vmstat command. Considered to be a summary reporting feature associated with memory, processes, and paging, vmstat can be seen in action by typing:

# vmstat -a

Having used the -a option to call on all active and inactive memory, the most endearing columns shown under vmstat's output are best described as follows:

  • si: This column shows the value swapped in from disk
  • so: This column shows the value swapped out to disk
  • bi: This column shows the value sent to block devices
  • bo: This column shows the value received from block devices
  • us: This column shows the user time
  • sy: This column shows the system time
  • id: This column shows the idle time

The display does look quite confusing to begin with, but for our purposes, we want to concentrate on the following columns contained under the swap column:

free           si   so
1645452          0    0

Where free shows the current allocation of free memory, si shows...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image