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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.