What about Linux: $less /proc/<PID>/maps $pmap <PID> On Fri, Sep 25, 2015 at 10:57 AM, Markus Jelsma <markus.jel...@openindex.io> wrote:
> Hello - as far as i remember, you don't. A file itself is not the unit to > cache, but blocks are. > Markus > > > -----Original message----- > > From:Aman Tandon <amantandon...@gmail.com> > > Sent: Friday 25th September 2015 5:56 > > To: solr-user@lucene.apache.org > > Subject: How to know index file in OS Cache > > > > Hi, > > > > Is there any way to know that the index file/s is present in the OS cache > > or RAM. I want to check if the index is present in the RAM or in OS cache > > and which files are not in either of them. > > > > With Regards > > Aman Tandon > > > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>