Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We have a problem where the cached memory is filling up rapidly on our system. We are not sure why this is filling up so quickly and would like to understand why

Is there any script/commands available that allows you to view the contents of the unix cached memory?

share|improve this question

migrated from stackoverflow.com Dec 18 '12 at 12:47

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 4 down vote accepted

We have a problem where the cached memory is filling up rapidly on our system.

In Unix view, unused memory is a problem. Hence a good Unix system tries to utilize memory as much as possible, like, for example, using it as cache.

Is there any script/commands available that allows you to view the contents of the unix cached memory?

Not as far as I am aware.

You can try using atop to see if there is a process writing too much data clogging the system.

share|improve this answer
1  
thanks Maxim. The problem we have is that the cached memory is filling up and causing us to run out of memory –  Damo Dec 18 '12 at 10:13
    
@Damo: This shouldn't be caused by caching in the kernel. It can be some other application using too much memory or writing to disk too much, so that the disks can't keep up. –  Maxim Yegorushkin Dec 18 '12 at 10:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.