Neat utility for checking Apple Caching Servers in Sierra

With the Sierra release a new tool also came.
This tool AssetCacheLocatorUtil located at /usr/bin/AssetCacheLocatorUtil when run will tell you if your host mac detects any caching servers on your network.

EG

 17:57:38.697 AssetCacheLocatorUtil[27658:174761] --- Information for user 501 (results for other users may be different):
2016-11-08 17:57:38.697 AssetCacheLocatorUtil[27658:174761] Checking whether there might be caching server(s) available...
2016-11-08 17:57:38.698 AssetCacheLocatorUtil[27658:174761] There might be caching server(s) available.
2016-11-08 17:57:38.698 AssetCacheLocatorUtil[27658:174761] Checking for saved servers supporting personal caching...
2016-11-08 17:57:38.698 AssetCacheLocatorUtil[27658:174761] Found 0 servers
2016-11-08 17:57:38.698 AssetCacheLocatorUtil[27658:174761] Checking for saved servers supporting personal caching and import...
2016-11-08 17:57:38.699 AssetCacheLocatorUtil[27658:174761] Found 0 servers
2016-11-08 17:57:38.699 AssetCacheLocatorUtil[27658:174761] Checking for saved servers supporting shared caching...
2016-11-08 17:57:38.699 AssetCacheLocatorUtil[27658:174761] Found 1 server
2016-11-08 17:57:38.699 AssetCacheLocatorUtil[27658:174761] Found total 1 saved server
2016-11-08 17:57:38.699 AssetCacheLocatorUtil[27658:174761] 10.8.1.17:49410, valid until 2016-11-08 18:54:47; supports personal caching: no, and import: n/a, shared caching: yes
2016-11-08 17:57:38.699 AssetCacheLocatorUtil[27658:174761] Checking for refreshed servers supporting personal caching...
2016-11-08 17:57:38.923 AssetCacheLocatorUtil[27658:174761] Found 0 servers
2016-11-08 17:57:38.923 AssetCacheLocatorUtil[27658:174761] Checking for refreshed servers supporting personal caching and import...
2016-11-08 17:57:38.924 AssetCacheLocatorUtil[27658:174761] Found 0 servers
2016-11-08 17:57:38.924 AssetCacheLocatorUtil[27658:174761] Checking for refreshed servers supporting shared caching...
2016-11-08 17:57:38.924 AssetCacheLocatorUtil[27658:174761] Found 1 server
2016-11-08 17:57:38.924 AssetCacheLocatorUtil[27658:174761] Found total 1 refreshed server
2016-11-08 17:57:38.924 AssetCacheLocatorUtil[27658:174761] 10.8.1.17:49410, valid until 2016-11-08 18:57:38; supports personal caching: no, and import: n/a, shared caching: yes

The last line is important, it tells me that it found a caching server, located at 10.8.1.17 and that it’s valid. Doesn’t support import or personal caching.

If there’s no caching sever, it’ll refresh and then respond back

2016-11-08 18:00:00.061 AssetCacheLocatorUtil[28594:178936] Found 0 servers
2016-11-08 18:00:00.061 AssetCacheLocatorUtil[28594:178936] Found total 0 refreshed servers

No Comments

Leave a Comment