LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2015, 05:56 AM   #1
sandykrishn1988
LQ Newbie
 
Registered: Jun 2015
Posts: 12

Rep: Reputation: Disabled
Regarding sar command


Hi Everyone,

I am having some confusion with sar command.

If you run sar command with r i.e sar -r. It will give memory utilization. In that we can see %memused, This is % of memory used only RAM or It include Cache as well.
 
Old 08-27-2015, 03:46 PM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Cache memory is part of the CPU. By definition, all of it will be used.

Now if you are referring to the systems disk caching, then no. If you want to see that useage the use the vmstat command instead (the field is identified as "cache").
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about sar command Spiros85 Linux - Server 3 04-09-2014 01:16 PM
doubt regarding sar command praveenk13 Linux - Newbie 1 05-28-2009 03:56 AM
why sar command not running? your_shadow03 Linux - Newbie 2 02-05-2009 01:29 AM
sar command maooah Solaris / OpenSolaris 16 08-12-2008 06:16 AM
sar command rsuks Linux - General 2 03-25-2006 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration