command:statistics

statisticsGetSeries

statisticsGetSeries --type= [--appId=] [--from=] [--to=] [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Retrieve a series of data according to a counter type identifier. The series retrieved is an aggregate of statistical information provided by Zend Server’s various components during execution.

  • --type
    Define one of:
    • OPLUS_UTILIZATION
    • OPLUS_HITS
    • OPLUS_MISSES
    • OPLUS_FILES_CONSUMPTION
    • OPLUS_MEMORY_CONSUMPTION
    • OPLUS_MEMORY_WASTED
    • DC_SHM_UTILITZATION
    • DC_SHM_HITS
    • DC_SHM_MISSES
    • DC_DISK_HITS
    • DC_DISK_MISSES
    • DC_NUM_OF_NAMESPACES
    • DC_SHM_NUM_OF_ENTRIES
    • PC_NUM_OF_RULES
    • PC_HITS_PER_RUL
    • PC_MISSES_PER_RULE
    • PC_AVG_PROC_TIME_NON_CACHED_PAGE
    • PC_AVG_PROC_TIME_CACHED_PAGE
    • PC_NON_HANDLED_REQUESTS
    • JQ_JOBS_PER_STATUS
    • JQ_JOBS_ENQUEUED
    • JQ_JOBS_SCHEDULED_ENQUEUED
    • JQ_JOBS_DEQUEUED
    • SC_SESSIONS_CREATED
    • SC_SESSIONS_REUSED
    • SC_AVG_SESSION_SIZE
    • SC_MIN_SESSION_SIZE
    • SC_MAX_SESSION_SIZE
    • SC_SESSIONS_PER_APP
    • SC_SESSIONS_DATA_SPACE
    • MON_NUM_OF_EVENTS
    • NUM_REQUESTS_PER_SECOND
    • NUM_PHP_WORKERS
    • AVG_REQUEST_PROCESSING_TIME
    • MAX_REQUEST_PROCESSING_TIME
    • MIN_REQUEST_PROCESSING_TIME
    • AVG_REQUEST_PROCESSING_TIME_PER_APP
    • AVG_MEMORY_USAGE
    • AVG_CPU_USAGE
    • AVG_REQUEST_OUTPUT_SIZE
    • AVG_DATABASE_TIME
  • --appId
    Filter statistics by the specified application id. Filtering by a particular application id still retrieves “global” statistic counters’ data. Default: all applications’ data.
  • --from
    Unix timestamp of the start date timestamp.
  • --to
    Unix timestamp of the end date.
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

statisticsClearData

statisticsClearData [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Clear all statistics data.

  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.