From 3d8ef100741cca33eb3d7e78f996993fd3145cfb Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Mon, 2 Nov 2009 10:39:31 -0800 Subject: [PATCH] show-caches: Correct example output in documentation Back in 2a00e18c71da ("show-caches: Make output more concise") when we made the output use only 1 line per cache I failed to update the documentation example to show the current format. Change-Id: Ic8a7d44f9885f5f8404ff2ea9af8782454fc7549 Signed-off-by: Shawn O. Pearce --- Documentation/cmd-show-caches.txt | 48 +++++++++++-------------------- 1 file changed, 16 insertions(+), 32 deletions(-) diff --git a/Documentation/cmd-show-caches.txt b/Documentation/cmd-show-caches.txt index ee0cfdae9c..599885914a 100644 --- a/Documentation/cmd-show-caches.txt +++ b/Documentation/cmd-show-caches.txt @@ -27,43 +27,27 @@ EXAMPLES ==== $ ssh -p 29418 review.example.com gerrit show-caches - cache "diff" (memory, disk): - items : 16519 - items.memory: 153 - items.disk : 16384 - evictions : 0 - ttl.idle : 90.00 days - ttl.live : inf - avg.get : 0.67 ms - hit% : 85% - hit%.memory : 55% - hit%.disk : 30% - - cache "openid": - items : 8 - evictions : 0 - ttl.idle : 5.00 mins - ttl.live : 5.00 mins - avg.get : 1.00 ms - hit% : 5% - - cache "sshkeys": - items : 4 - evictions : 0 - ttl.idle : 90.00 days - ttl.live : inf - avg.get : 0.06 ms - hit% : 92% + Name Max |Object Count | AvgGet |Hit Ratio | + Age | Disk Mem Cnt| |Disk Mem Agg | + -------------------------+--------------------+----------+--------------+ + accounts 90d | 295| | 99%| + accounts_byemail 90d | 109| | 97%| + D diff 90d | 2695 128 2707| 0.4ms | 11% 86% 98%| + groups 90d | 94| | 80%| + openid 5m | 30| 0.4ms | 9%| + projects 90d | 188| | 99%| + sshkeys 90d | 9| | 94%| + D web_sessions 12h | 30 30| | 0% 99% 99%| JGit Buffer Cache: - open files : 9 - loaded : 9.99 mb - mem% : 3% + open files : 23 + loaded : 6.82 mb + mem% : 2% JVM Heap: max : 880.00 mb - inuse : 166.96 mb - mem% : 57% + inuse : 136.57 mb + mem% : 44% ==== SEE ALSO