Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17761

How to see what is inside linux buffer memory.

$
0
0

There is a linux-ftool called fincore that allows you to see inside of the cache.

Is there a way to see what is inside the buffers memory?

After a lot of digging, I found a cronjob that was running find on a partition with 3M directories was using 7GB of buffer memory. Even when the find was complete, all of that information was still stored in linux buffers. It would have been nice to see inside the buffers memory and learn that it was just a bunch of directory information about XYZ path.

ETA: Here's after unmounting the partition:

Mem: 8061664k total, 1896008k used, 6165656k free, 66692k buffers

And here's after running find for 10 minutes on the partion

Mem: 8061664k total, 5454628k used, 2607036k free, 3820124k buffers

submitted by jestertoo
[link][4 comments]

Viewing all articles
Browse latest Browse all 17761

Trending Articles