This question answers to the question on how to find the what is part of cache. However, in the fincore
executable you have to pass the filename to check if it is part of cache.
Is there a tools or a method to find all the entries that are part of the cached memory without passing the filenames.
PS: We are running it in an embedded system, and running a for loop and passing all the files to fincore
itself is a more time and memory consuming process. Hence, I’m looking for other methods.