From b1c16b04e5a5be7a0e9b29e141d6f760cb0ba991 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E7=BA=A2=E4=B8=BD?= <1181930680@qq.com>
Date: Wed, 27 Nov 2024 15:08:45 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E7=9B=91=E6=8E=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/monitor/cache/gaugeBox.vue | 50 ++++++++++++
src/views/monitor/cache/index.vue | 118 +++++++++++++++++++++++++++
src/views/monitor/cache/pieBox.vue | 43 ++++++++++
3 files changed, 211 insertions(+)
create mode 100644 src/views/monitor/cache/gaugeBox.vue
create mode 100644 src/views/monitor/cache/index.vue
create mode 100644 src/views/monitor/cache/pieBox.vue
diff --git a/src/views/monitor/cache/gaugeBox.vue b/src/views/monitor/cache/gaugeBox.vue
new file mode 100644
index 0000000..25dbc47
--- /dev/null
+++ b/src/views/monitor/cache/gaugeBox.vue
@@ -0,0 +1,50 @@
+
+
+
+
diff --git a/src/views/monitor/cache/index.vue b/src/views/monitor/cache/index.vue
new file mode 100644
index 0000000..998892c
--- /dev/null
+++ b/src/views/monitor/cache/index.vue
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+
+
+ 基本信息
+
+
+
+ {{ baseInfo.redis_version }}
+ {{
+ baseInfo.redis_mode == 'standalone' ? '单机' : '集群'
+ }}
+ {{ baseInfo.tcp_port }}
+ {{ baseInfo.connected_clients }}
+ {{
+ baseInfo.uptime_in_days
+ }}
+ {{ baseInfo.used_memory_human }}
+ {{
+ baseInfo.used_cpu_user_children
+ }}
+ {{ baseInfo.maxmemory_human }}
+ {{
+ baseInfo.aof_enabled == 0 ? '开启' : '关闭'
+ }}
+ {{
+ baseInfo.aof_enabled == 'ok' ? '成功' : '失败'
+ }}
+ {{ baseInfo.dbSize }}
+ {{ baseInfo.instantaneous_input_kbps }}
+ /
+ {{ baseInfo.instantaneous_output_kbps }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 内存信息
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/monitor/cache/pieBox.vue b/src/views/monitor/cache/pieBox.vue
new file mode 100644
index 0000000..9d126df
--- /dev/null
+++ b/src/views/monitor/cache/pieBox.vue
@@ -0,0 +1,43 @@
+
+
+
+