bosOnline
  1. Cache
bosOnline
  • bosOnline
  • BosOnline
    • auth
      • Register
      • Login
      • Refresh
      • Logout
    • Product
      • Inventory
      • Update Inventory
      • Download Inventory
      • Download Variant
      • Get Category
      • Get Edit Product
      • Delete Product
      • Product List
      • product
      • Edit Product Detail (Product Detail)
      • Edit Status Product (Product List)
      • Download Product (Product List)
      • Product Detail
      • Product Variant
      • Edit Status Variant (Product Detail)
      • Update Variant
      • Upload Image
      • Cek SKU Variant
      • Cek SKU Product
    • Form
      • Form
      • Form list
      • Edit Form
      • Form Detail
      • Edit Status Form (Product Detail)
      • Custom Success Page
      • Custom Success Page
      • Edit Success Page
      • Delete Form
      • Form list Donwload
      • Duplicate form
      • Duplicate form batch
    • Order
      • Checkout
        • Request Create Order
        • Request Create Order Abandoned
      • Follow up
        • Follow Up
        • Follow Up Attempts
      • Edit Choose Courier
      • Edit Payment Method
      • Update Pengiriman Kurir
      • Confirm Payment
      • Validation Number WA
      • Order List
      • Recap Order List
      • Update Status Order
      • Load checkout Form
      • Estimation Rates
      • Download Order List
      • Cetak Invoice
      • Courier List
      • Update Payment Method
      • Detail Order
      • Edit Customer Order
      • Edit Another Fee
    • Store
      • Custom Domain
        • Set Default Subdomain
        • Subdomain
        • Create Subdomain
        • Verifikasi Subdomain
      • Recap Order
      • Recap Store
      • Recap Product
      • Recap CS
      • Get Revenue
      • Tips
      • Announcement
      • Store
      • Store
      • Cek SubDomain
      • Edit Subdomain
      • On Boarding
      • Warehouse
      • Get Region
      • Get Province List
      • Get Notification
    • API Boscod
      • Cek Ongkir
      • Wilayah
      • Tracking Order
      • Forgot Password (Reset Password)
      • Warehouse
      • Order Shipping
      • winpay service
      • Saldo BosPay
      • Validation Number WA With store
    • Profile
      • Warehouse
      • Edit Warehouse
      • Profile
      • Account Deletion
      • Default Warehouse
      • Me
    • Staff
      • Create Staff
      • Delete staff
      • Staff List
      • Edit Status Staff
      • Update staff
      • Edit Multi Status Staff
    • Rekening
      • Bank List
      • Get Rekening List
      • Rekening Detail
      • Create Rekening
      • Edit Rekening
      • Delete Rekening
      • Edit Status Rekening
    • Voucher
      • List Voucher
      • Edit Voucher Status
      • Voucher
      • List Voucher Checkout
      • Delete Voucher
    • Session
      • Active Sesion
      • Sesion History
      • Logout All Outher Session
      • Logout Session ID
  • AdminBosOnline
    • Dashboard
      • Header Summary
      • Get Popular Products
      • Rekap Product
      • Revenue
      • Get Top Seller
    • Seller
      • Detail
        • Seller Detail
        • Update Seller Detail Status & Marking
        • Seller Store
        • Update Detail Seller Store
        • Seller Product
        • Download Product Seller
        • Update Status Produk Seller
        • Seller Warehouse List
        • Seller Note
        • Create Seller Note
        • Update Seller Note
        • Seller Domains
      • Seller Summary
      • Seller List
      • Seller Active Status
      • Update Marking Sellers
      • Detail Bank Seller
    • Products
      • Recap Product
      • Get List Product
      • Download list product
      • Edit status product
      • Update Marking Product
      • Detail Product Seller
      • Detail Product Variant
      • Download Product Variant
      • Product Form
    • Order
      • Order Recap
      • Order List
      • Download Order
      • Detail Order
      • Cetak Invoice
    • Store
      • Create Store
      • Upload Image Custom
    • auth
      • Get User Internal
      • Get Detail User Internal
      • Create Internal User
      • Edit Detail Internal User
      • Update Active User Internal
      • Delete Internal User
    • Cache
      • All Cache
        GET
      • Cache Statistics
        GET
      • Flush All Cache
        DELETE
      • Specific Cache key
        DELETE
      • Specific Cache Pattern
        DELETE
      • Specific Cache User
        DELETE
  1. Cache

Cache Statistics

Tested
GET
/admin/cache/stats
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/admin/cache/stats'
Response Response Example
{
    "message": "Cache statistics retrieved successfully",
    "stats": {
        "info": "# Memory\r\nused_memory:1328560\r\nused_memory_human:1.27M\r\nused_memory_rss:14655488\r\nused_memory_rss_human:13.98M\r\nused_memory_peak:1467616\r\nused_memory_peak_human:1.40M\r\nused_memory_peak_perc:90.53%\r\nused_memory_overhead:1005480\r\nused_memory_startup:979056\r\nused_memory_dataset:323080\r\nused_memory_dataset_perc:92.44%\r\nallocator_allocated:3612064\r\nallocator_active:14221312\r\nallocator_resident:17235968\r\nallocator_muzzy:0\r\ntotal_system_memory:8217686016\r\ntotal_system_memory_human:7.65G\r\nused_memory_lua:31744\r\nused_memory_vm_eval:31744\r\nused_memory_lua_human:31.00K\r\nused_memory_scripts_eval:0\r\nnumber_of_cached_scripts:0\r\nnumber_of_functions:0\r\nnumber_of_libraries:0\r\nused_memory_vm_functions:32768\r\nused_memory_vm_total:64512\r\nused_memory_vm_total_human:63.00K\r\nused_memory_functions:192\r\nused_memory_scripts:192\r\nused_memory_scripts_human:192B\r\nmaxmemory:268435456\r\nmaxmemory_human:256.00M\r\nmaxmemory_policy:allkeys-lru\r\nallocator_frag_ratio:5.73\r\nallocator_frag_bytes:7519584\r\nallocator_rss_ratio:1.21\r\nallocator_rss_bytes:3014656\r\nrss_overhead_ratio:0.85\r\nrss_overhead_bytes:-2580480\r\nmem_fragmentation_ratio:11.03\r\nmem_fragmentation_bytes:13327280\r\nmem_not_counted_for_evict:1280\r\nmem_replication_backlog:0\r\nmem_total_replication_buffers:0\r\nmem_clients_slaves:0\r\nmem_clients_normal:24328\r\nmem_cluster_links:0\r\nmem_aof_buffer:1280\r\nmem_allocator:jemalloc-5.3.0\r\nmem_overhead_db_hashtable_rehashing:0\r\nactive_defrag_running:0\r\nlazyfree_pending_objects:0\r\nlazyfreed_objects:0\r\n\r\n# Stats\r\ntotal_connections_received:6975\r\ntotal_commands_processed:12850\r\ninstantaneous_ops_per_sec:1\r\ntotal_net_input_bytes:609773\r\ntotal_net_output_bytes:17029406\r\ntotal_net_repl_input_bytes:0\r\ntotal_net_repl_output_bytes:0\r\ninstantaneous_input_kbps:0.07\r\ninstantaneous_output_kbps:0.00\r\ninstantaneous_input_repl_kbps:0.00\r\ninstantaneous_output_repl_kbps:0.00\r\nrejected_connections:0\r\nsync_full:0\r\nsync_partial_ok:0\r\nsync_partial_err:0\r\nexpired_subkeys:0\r\nexpired_keys:99\r\nexpired_stale_perc:0.00\r\nexpired_time_cap_reached_count:0\r\nexpire_cycle_cpu_milliseconds:11977\r\nevicted_keys:0\r\nevicted_clients:0\r\nevicted_scripts:0\r\ntotal_eviction_exceeded_time:0\r\ncurrent_eviction_exceeded_time:0\r\nkeyspace_hits:3978\r\nkeyspace_misses:476\r\npubsub_channels:0\r\npubsub_patterns:0\r\npubsubshard_channels:0\r\nlatest_fork_usec:5799\r\ntotal_forks:63\r\nmigrate_cached_sockets:0\r\nslave_expires_tracked_keys:0\r\nactive_defrag_hits:0\r\nactive_defrag_misses:0\r\nactive_defrag_key_hits:0\r\nactive_defrag_key_misses:0\r\ntotal_active_defrag_time:0\r\ncurrent_active_defrag_time:0\r\ntracking_total_keys:0\r\ntracking_total_items:0\r\ntracking_total_prefixes:0\r\nunexpected_error_replies:0\r\ntotal_error_replies:0\r\ndump_payload_sanitizations:0\r\ntotal_reads_processed:18910\r\ntotal_writes_processed:12735\r\nio_threaded_reads_processed:0\r\nio_threaded_writes_processed:0\r\nclient_query_buffer_limit_disconnections:0\r\nclient_output_buffer_limit_disconnections:0\r\nreply_buffer_shrinks:914\r\nreply_buffer_expands:56\r\neventloop_cycles:1766925\r\neventloop_duration_sum:1680484173\r\neventloop_duration_cmd_sum:888661\r\ninstantaneous_eventloop_cycles_per_sec:10\r\ninstantaneous_eventloop_duration_usec:1086\r\nacl_access_denied_auth:0\r\nacl_access_denied_cmd:0\r\nacl_access_denied_key:0\r\nacl_access_denied_channel:0\r\n\r\n# Keyspace\r\n",
        "total_keys": 0
    }
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Responses

🟢200Success
application/json
Body

Previous
All Cache
Next
Flush All Cache
Built with