Xao wrote:
Does anyone know if there is still an ability to see the "Caching Statistics" to see how well of a job it is doing? I used to look at that daily to see how much data came from Apple vs the internal caching server.
I hate to have no data and just "hope" that all is working while I know it's filling up hard drive space on my NAS.
Some detail information is available via command line without
any special privileges.
On your "Content Sharing" server, open a Terminal window
and enter the command and hit return:
AssetCacheManagerUtil status
It gives details such as follows:
Built-in caching server status: {
Activated = 1;
Active = 1;
CacheDetails = {
"Mac Software" = 10595586693;
iCloud = 92224101;
"iOS Software" = 4192563429;
};
CacheFree = 135119625777;
CacheLimit = 150000000000;
CacheStatus = OK;
CacheUsed = 14880374223;
Parents = (
);
Peers = (
);
PersonalCacheFree = 149907775899;
PersonalCacheLimit = 150000000000;
PersonalCacheUsed = 92224101;
Port = 50190;
PrivateAddresses = (
"192.xxx.x.x"
);
PublicAddress = "xxx.xx.xx.xx";
RegistrationStatus = 1;
RestrictedMedia = 0;
ServerGUID = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
StartupStatus = OK;
TotalBytesDropped = 0;
TotalBytesImported = 0;
TotalBytesReturnedToChildren = 0;
TotalBytesReturnedToClients = 0;
TotalBytesReturnedToPeers = 0;
TotalBytesStoredFromOrigin = 0;
TotalBytesStoredFromParents = 0;
TotalBytesStoredFromPeers = 0;
}
I did the following test:
Downloaded 3 iOS app updates via iTune 12.6.2 (can't do it with 12.7)
on ClientA. "iOS Software" increased by 375Meg as did CacheUsed.
But the TotalBytesStoredFromOrigin was 193Meg and TotalBytesReturnedToClients
was the same. Now, why the increase in stored is double??
I then went to ClientB which showed the same app updates in its
iTunes and proceded to update. The total cache size nor the iOS Software
component changed. But, TotalBytesStoredFromOrigin jumped to 375 Meg
and TotalBytesReturnedToClients was 569 Meg???
So, it is not clear if anything was actually served from cache on this
server or not? Seems to me that those last numbers indicate that
the latest and greatest "Content Caching" doesn't work!
Also tried the same thing with an app downloaded from the MacApp Store,
and it didn't show any changes like its totally ignored the request!!
This great "Content Caching" is seriously hosed!!!!!!!!!!!!!