blob: 599885914a26e436ef8aca47a2314a1518929327 [file] [log] [blame]
Shawn O. Pearce4016a932009-05-28 15:12:40 -07001gerrit show-caches
2===================
3
4NAME
5----
6gerrit show-caches - Display current cache statistics
7
8SYNOPSIS
9--------
10[verse]
11'ssh' -p <port> <host> 'gerrit show-caches'
12
13DESCRIPTION
14-----------
15Display statistics about the size and hit ratio of in-memory caches.
16
17ACCESS
18------
19Caller must be a member of the privileged 'Administrators' group.
20
21SCRIPTING
22---------
23Intended for interactive use only.
24
25EXAMPLES
26--------
27
28====
29 $ ssh -p 29418 review.example.com gerrit show-caches
Shawn O. Pearce3d8ef102009-11-02 10:39:31 -080030 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. Pearced6078462009-11-02 10:37:01 -080041
Shawn O. Pearce4016a932009-05-28 15:12:40 -070042 JGit Buffer Cache:
Shawn O. Pearce3d8ef102009-11-02 10:39:31 -080043 open files : 23
44 loaded : 6.82 mb
45 mem% : 2%
Shawn O. Pearced6078462009-11-02 10:37:01 -080046
Shawn O. Pearce4016a932009-05-28 15:12:40 -070047 JVM Heap:
48 max : 880.00 mb
Shawn O. Pearce3d8ef102009-11-02 10:39:31 -080049 inuse : 136.57 mb
50 mem% : 44%
Shawn O. Pearce4016a932009-05-28 15:12:40 -070051====
52
53SEE ALSO
54--------
55
56* link:cmd-flush-caches.html[gerrit flush-caches]
Shawn O. Pearce8efb2a72009-08-18 19:45:33 -070057* link:config-gerrit.html#cache[Cache Configuration]
Shawn O. Pearce4016a932009-05-28 15:12:40 -070058* link:config-gerrit.html#cache_names[Standard Caches]
Shawn O. Pearce5500e692009-05-28 15:55:01 -070059
60GERRIT
61------
62Part of link:index.html[Gerrit Code Review]