Is there a command in RHEL that directly caches the files in a directory to have applications afterwards start faster?

Solution Verified - Updated -

Issue

  • My application is reading files after start. It starts faster if it has been started bevore and the contents of the required files are already in the filesystem cache. Is there a command to directly have the files in a directory transferred to the filesystem cache?

Environment

  • Red Hat Enterprise Linux, all versions

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content