diff --git a/src/XrdApps/XrdClJCachePlugin/file/CacheStats.hh b/src/XrdApps/XrdClJCachePlugin/file/CacheStats.hh index a81c49845b5..e055c9bbb0f 100644 --- a/src/XrdApps/XrdClJCachePlugin/file/CacheStats.hh +++ b/src/XrdApps/XrdClJCachePlugin/file/CacheStats.hh @@ -318,6 +318,13 @@ struct CacheStats { "-------------------------------------------------------------------" "---- #" << std::endl; + oss << "# JCache : avg. bytes read : " << (sStats.readOps.load()?(sStats.bytesCached.load() / sStats.readOps.load()):0.0) << std::endl; + oss << "# JCache : avg. bytes readv : " << (sStats.readVOps.load()?(sStats.bytesCachedV.load() / sStats.readVOps.load()):0.0) << std::endl; + oss << "# " + "-------------------------------------------------------------------" + "---- #" + << std::endl; + oss << "# JCache : open files read : " << sStats.nreadfiles.load() << std::endl; oss << "# JCache : open unique f. read : " << sStats.UniqueUrls()