LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Regarding sar command (https://www.linuxquestions.org/questions/linux-newbie-8/regarding-sar-command-4175551870/)

sandykrishn1988 08-27-2015 04:56 AM

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.

jpollard 08-27-2015 02:46 PM

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").


All times are GMT -5. The time now is 04:16 PM.