0

I was taught, that the sync command writes the data stored within the cache of the RAM onto hard-disk, this release should be displayed in /proc/meminfo. However when I cat /proc/meminfo before and after a sync I can not see any difference, the line with buffers and cage stays the same.

Where can I actually see the change ?

0
2

I would look at this answer here.

You can run this command to watch an interractive display of the changes:

watch grep -e Dirty: -e Writeback: /proc/meminfo

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