在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):erikng/Cacher开源软件地址(OpenSource Url):https://github.com/erikng/Cacher开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):CacherCacher is a python script that will parse the OS X Caching Server debug logs and present you (to the best of its abilities) serving statistics. Some of the things Cacher can display:
Server supportCacher currently supports Server 5.2 and higher.
Usage
Optional featuresThe following are optional features: Configure Caching service loggingBy default, the Caching service will not log the model and iOS/OS X version. In order to get true results from this script, run the following command (as root):
If successful, you will see the following output:
Target dateBy default, Cacher will use look for logs from the previous date. To target logs from a custom date, use the
Log pathBy default, Cacher will use look for logs from in /Library/Server/Caching/Logs. To target logs in a custom path, use the
DeviceIDsBy default, Cacher will use the "Friendly Names" for iOS devices. To use the model Device ID, use the
Device IDs Example: A total of 3513 iOS downloads were requested from the Caching Server yesterday consisting of:
A total of 4 Apple TV downloads
A total of 417 iPad downloads
A total of 3075 iPhone downloads
A total of 17 iPod downloads
4 AppleTV5,3
4 iPad2,1
7 iPad2,2
2 iPad2,3
5 iPad2,4 Friendly Names Example: A total of 3513 iOS downloads were requested from the Caching Server yesterday consisting of:
A total of 4 Apple TV downloads
A total of 417 iPad downloads
A total of 3075 iPhone downloads
A total of 17 iPod downloads
4 5th Generation Apple TVs
5 iPad 2nd Generation [M2012 Wifi Revision]
2 iPad 2nd Generation [Wifi + CDMA]
7 iPad 2nd Generation [Wifi + GSM]
4 iPad 2nd Generation [Wifi] No Standard outputBy default, Cacher will print the results to standard out. To skip this use the
Server alertBy default, Cacher will no longer send a server alert. To send a server alert, use the Please note that this option requires root/sudo level permissions.
If you attempt to use this option without elevated permissions, Cacher will write the following note to standard out.
Slack alertBy default, Cacher will not send a server alert. To send a server alert, use the The slack alert requires two other options to be passed:
Username or ChannelYou can pass both an username or channel via the
Slack webhookA slack webhook must be created. To create a webhook, please go here cacher.py --slackalert \
--slackchannel "@egomez" \
--slackwebhook "https://hooks.slack.com/services/YOURURL"`` ScreenshotsSlack SmallSlack LargeOriginal Server Alert |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论