Git Product home page Git Product logo

caching's Introduction

Caching module

Get status of macOS' caching service.

###Now supports macOS High Sierra! Can be installed on all 10.13+ clients.

##Config Options

Because of the drastic change in how the caching data is stored between 10.8-10.12 and 10.13+, the listing was completely rewritten. The older, itemized listing is still available under the "Caching Itemized" listing. To hide the Itemized listing, set the config option "caching_show_itemized" to FALSE.

Database Columns

The results are stored in the table:

  • id - Unique id
  • serial_number - Serial Number
  • entryIndex - Entry number of caching index
  • collectionDate - Date when data was written
  • expirationDate - Date when data will expire
  • collectionDateepoch - Date when data was written UNIX time
  • requestsfrompeers - Number of requests from peers
  • requestsfromclients - Number of requests from clients
  • bytespurgedyoungerthan1day - Number of bytes that were less than 24 hours old that have been deleted
  • bytespurgedyoungerthan7days - Number of bytes that were less than 7 days old that have been deleted
  • bytespurgedyoungerthan30days - Number of bytes that were less than 30 days old that have been deleted
  • bytespurgedtotal - Total number of bytes that have been deleted from cache
  • bytesfrompeerstoclients - Bytes sent to clients from peers
  • bytesfromorigintopeers - Bytes from origin (Apple) to peers
  • bytesfromorigintoclients - Bytes from origin to clients
  • bytesfromcachetopeers - Bytes from cache to peers
  • bytesfromcachetoclients - Bytes from cache to clients
  • bytesdropped - Number of bytes dropped
  • repliesfrompeerstoclients - Number of peers replied to clients
  • repliesfromorigintopeers - Number of replies from origin to peers
  • repliesfromorigintoclients - Number of replies from origin to clients
  • repliesfromcachetopeers - Number of replies from cache to peers
  • repliesfromcachetoclients - Number of replies from cache to clients
  • bytesimportedbyxpc - Bytes imported by XPC
  • bytesimportedbyhttp - Bytes imported over HTTPS
  • importsbyxpc - Number of XPC imports
  • importsbyhttp - Number of HTTPS imports

###The above columns are used by 10.8-10.12 and 10.13.4+ clients.

###The following columns are used by 10.13+ clients.

  • activated - Is caching server activated
  • active - Is caching server active
  • cachestatus - Status of caching server
  • appletvsoftware - Bytes of Apple TV software stored in cache
  • macsoftware - Bytes of Apple TV software stored in cache
  • iclouddata - Bytes of Mac software stored in cache
  • iossoftware - Bytes of iOS software stored in cache
  • booksdata - Bytes of books stored in cache
  • itunesudata - Bytes of iTunes U stored in cache
  • moviesdata - Bytes of movies stored in cache
  • musicdata - Bytes of music stored in cache
  • otherdata - Bytes of other data stored in cache
  • cachefree - Bytes of free cache
  • cachelimit - Bytes of maximum cache size
  • cacheused - Bytes of used cache
  • personalcachefree - Bytes of personal free cache
  • personalcachelimit - Bytes of maximum personal cache size
  • personalcacheused - Bytes of personal used cache
  • port - Port used by caching server
  • publicaddress - Public address of caching server
  • privateaddresses - Private address(es) of caching server
  • registrationstatus - Registration status
  • registrationstatus - Registration error code
  • registrationresponsecode - Registration response code
  • restrictedmedia - Cache contains restricted media
  • serverguid - GUID of cache server
  • startupstatus - Status of caching server
  • totalbytesdropped - Total number of dropped bytes
  • totalbytesimported - Total number of imported bytes
  • totalbytesreturnedtochildren - Total number of bytes returned to children
  • totalbytesreturnedtoclients - Total number of bytes returned to clients
  • totalbytesreturnedtopeers - Total number of bytes returned to peers
  • totalbytesstoredfromorigin - Total number of bytes stored from origin
  • totalbytesstoredfromparents - Total number of bytes stored from parents
  • totalbytesstoredfrompeers - Total number of bytes stored from peers
  • reachability - IP address and port of caching servers that clients can reach

Configuration

Legacy Caching Listing

Starting with 10.13, Apple changed the caching server. In MunkiReport, you can hide the legacy caching server listing that shows an itemized listing for all caching server transactions for caching servers running 10.8-10.12. To hide the "Caching (Legacy)" listing, set this to FALSE.

CACHING_SHOW_ITEMIZED=FALSE

caching's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

caching's Issues

array offset caching_model line 265

After switching to php 7.4 I see this error a lot:

PHP Notice: Trying to access array offset on value of type null in /Users/Shared/munkireport-php/vendor/munkireport/caching/caching_model.php on line 265

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.