How can we perform staging in Linux?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sasimca007
    New Member
    • Sep 2007
    • 129

    #1

    How can we perform staging in Linux?

    Hi,
    I have a bundle of files and i need to compare those bundle with another bundle, so i need cache memory help here to copy some 10 files into cache memory and then we can perform Compare on those to perform faster.

    My question is there any linux command to put a file into cache memory directly like "stage command in FTP"?
  • Oralloy
    Recognized Expert Contributor
    • Jun 2010
    • 988

    #2
    sasimca007,

    Why bother forcing the ten files into the cache, when Linux will do it the first time the files are read?

    You can do something like
    Code:
    cat ~/base-files/* > /dev/null
    Which will force a read of the files, but there is nothing guaranteeing that some other system file I/O won't flush the data from the cache, anyway.

    Good Luck,
    Oralloy

    Comment

    Working...