can an LS command be cached ?
Question, on an Oracle Linux (7), is it possible that an LS command's output is cached ?
More in detail: we have a performance issue when using the LS command in certain directories. I check this by using TIME:
time ls -l
The returned times vary a lot, and that makes me wonder if caching is involved here or not ? Is this kind of command EVER cached actually ? Or it is reading the Filesystem data EVERY time I use the LS command (as what I think) ?
I suspect the variations to be caused by actual other use at the moment. Note the returning times may exceed 1 hour, to give some idea of the level of issue involved here.