Shawn O. Pearce | 4016a93 | 2009-05-28 15:12:40 -0700 | [diff] [blame] | 1 | gerrit show-caches |
| 2 | =================== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | gerrit show-caches - Display current cache statistics |
| 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
| 10 | [verse] |
| 11 | 'ssh' -p <port> <host> 'gerrit show-caches' |
| 12 | |
| 13 | DESCRIPTION |
| 14 | ----------- |
| 15 | Display statistics about the size and hit ratio of in-memory caches. |
| 16 | |
| 17 | ACCESS |
| 18 | ------ |
| 19 | Caller must be a member of the privileged 'Administrators' group. |
| 20 | |
| 21 | SCRIPTING |
| 22 | --------- |
| 23 | Intended for interactive use only. |
| 24 | |
| 25 | EXAMPLES |
| 26 | -------- |
| 27 | |
| 28 | ==== |
| 29 | $ ssh -p 29418 review.example.com gerrit show-caches |
Shawn O. Pearce | 3d8ef10 | 2009-11-02 10:39:31 -0800 | [diff] [blame^] | 30 | Name Max |Object Count | AvgGet |Hit Ratio | |
| 31 | Age | Disk Mem Cnt| |Disk Mem Agg | |
| 32 | -------------------------+--------------------+----------+--------------+ |
| 33 | accounts 90d | 295| | 99%| |
| 34 | accounts_byemail 90d | 109| | 97%| |
| 35 | D diff 90d | 2695 128 2707| 0.4ms | 11% 86% 98%| |
| 36 | groups 90d | 94| | 80%| |
| 37 | openid 5m | 30| 0.4ms | 9%| |
| 38 | projects 90d | 188| | 99%| |
| 39 | sshkeys 90d | 9| | 94%| |
| 40 | D web_sessions 12h | 30 30| | 0% 99% 99%| |
Shawn O. Pearce | d607846 | 2009-11-02 10:37:01 -0800 | [diff] [blame] | 41 | |
Shawn O. Pearce | 4016a93 | 2009-05-28 15:12:40 -0700 | [diff] [blame] | 42 | JGit Buffer Cache: |
Shawn O. Pearce | 3d8ef10 | 2009-11-02 10:39:31 -0800 | [diff] [blame^] | 43 | open files : 23 |
| 44 | loaded : 6.82 mb |
| 45 | mem% : 2% |
Shawn O. Pearce | d607846 | 2009-11-02 10:37:01 -0800 | [diff] [blame] | 46 | |
Shawn O. Pearce | 4016a93 | 2009-05-28 15:12:40 -0700 | [diff] [blame] | 47 | JVM Heap: |
| 48 | max : 880.00 mb |
Shawn O. Pearce | 3d8ef10 | 2009-11-02 10:39:31 -0800 | [diff] [blame^] | 49 | inuse : 136.57 mb |
| 50 | mem% : 44% |
Shawn O. Pearce | 4016a93 | 2009-05-28 15:12:40 -0700 | [diff] [blame] | 51 | ==== |
| 52 | |
| 53 | SEE ALSO |
| 54 | -------- |
| 55 | |
| 56 | * link:cmd-flush-caches.html[gerrit flush-caches] |
Shawn O. Pearce | 8efb2a7 | 2009-08-18 19:45:33 -0700 | [diff] [blame] | 57 | * link:config-gerrit.html#cache[Cache Configuration] |
Shawn O. Pearce | 4016a93 | 2009-05-28 15:12:40 -0700 | [diff] [blame] | 58 | * link:config-gerrit.html#cache_names[Standard Caches] |
Shawn O. Pearce | 5500e69 | 2009-05-28 15:55:01 -0700 | [diff] [blame] | 59 | |
| 60 | GERRIT |
| 61 | ------ |
| 62 | Part of link:index.html[Gerrit Code Review] |