blob: 997f9f629ca0fa309da1370d5560214cf83ddb5c [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------
Shawn O. Pearce7f485142011-06-16 13:49:42 -070019Caller must be a member of the privileged 'Administrators' group,
20or have been granted the 'View Caches' global capability.
Shawn O. Pearce4016a932009-05-28 15:12:40 -070021
22SCRIPTING
23---------
24Intended for interactive use only.
25
26EXAMPLES
27--------
28
29====
30 $ ssh -p 29418 review.example.com gerrit show-caches
Shawn O. Pearce3d8ef102009-11-02 10:39:31 -080031 Name Max |Object Count | AvgGet |Hit Ratio |
32 Age | Disk Mem Cnt| |Disk Mem Agg |
33 -------------------------+--------------------+----------+--------------+
34 accounts 90d | 295| | 99%|
35 accounts_byemail 90d | 109| | 97%|
36 D diff 90d | 2695 128 2707| 0.4ms | 11% 86% 98%|
37 groups 90d | 94| | 80%|
38 openid 5m | 30| 0.4ms | 9%|
39 projects 90d | 188| | 99%|
40 sshkeys 90d | 9| | 94%|
41 D web_sessions 12h | 30 30| | 0% 99% 99%|
Shawn O. Pearced6078462009-11-02 10:37:01 -080042
Shawn O. Pearce4016a932009-05-28 15:12:40 -070043 JGit Buffer Cache:
Shawn O. Pearce3d8ef102009-11-02 10:39:31 -080044 open files : 23
45 loaded : 6.82 mb
46 mem% : 2%
Shawn O. Pearced6078462009-11-02 10:37:01 -080047
Shawn O. Pearce4016a932009-05-28 15:12:40 -070048 JVM Heap:
49 max : 880.00 mb
Shawn O. Pearce3d8ef102009-11-02 10:39:31 -080050 inuse : 136.57 mb
51 mem% : 44%
Shawn O. Pearce4016a932009-05-28 15:12:40 -070052====
53
54SEE ALSO
55--------
56
57* link:cmd-flush-caches.html[gerrit flush-caches]
Shawn O. Pearce8efb2a72009-08-18 19:45:33 -070058* link:config-gerrit.html#cache[Cache Configuration]
Shawn O. Pearce4016a932009-05-28 15:12:40 -070059* link:config-gerrit.html#cache_names[Standard Caches]
Shawn O. Pearce5500e692009-05-28 15:55:01 -070060
61GERRIT
62------
63Part of link:index.html[Gerrit Code Review]