4 |
5 |
6 | Version:
7 | |
8 |
9 | =$this->info['redis_version']?>
10 | |
11 |
12 |
13 |
14 | Mode:
15 | |
16 |
17 | =$this->info['redis_mode']?>
18 | |
19 |
20 |
21 |
22 | Role:
23 | |
24 |
25 | =$this->info['role']?>
26 | |
27 |
28 |
29 |
30 | OS:
31 | |
32 |
33 | =$this->info['os']?>
34 | |
35 |
36 |
37 |
38 | Process ID:
39 | |
40 |
41 | =$this->info['process_id']?>
42 | |
43 |
44 |
45 |
46 | Uptime:
47 | |
48 |
49 | uptimeDays > 0) {
50 | echo "{$this->uptimeDays} days ";
51 | } echo gmdate('H:i:s', $this->info['uptime_in_seconds']);?>
52 | |
53 |
54 |
55 |
56 | Clients:
57 | |
58 |
59 | =$this->info['connected_clients']?>
60 | |
61 |
62 | info['role'] == 'master'): ?>
63 |
64 |
65 | Slaves:
66 | |
67 |
68 | =$this->info['connected_slaves']?>
69 | |
70 |
71 |
72 |
73 |
74 | Used Memory:
75 | |
76 |
77 | =$this->info['used_memory_human']?>
78 | |
79 |
80 |
81 |
82 | Used Memory Peak:
83 | |
84 |
85 | =$this->info['used_memory_peak_human']?>
86 | |
87 |
88 |
89 |
90 | Memory Fragmentation Ratio:
91 | |
92 |
93 | =$this->info['mem_fragmentation_ratio']?>
94 | |
95 |
96 |
97 |
98 | Last Save Time:
99 | |
100 |
101 | =date('Y-m-d H:i:s', isset($this->info['last_save_time']) ? $this->info['last_save_time']
102 | : $this->info['rdb_last_save_time'])?>
103 | |
104 |
105 |
106 |
107 | Total Connections Received:
108 | |
109 |
110 | =number_format($this->info['total_connections_received'])?>
111 | |
112 |
113 |
114 |
115 | Total Commands Processed:
116 | |
117 |
118 | =number_format($this->info['total_commands_processed'])?>
119 | |
120 |
121 |
122 |
123 | Expired Keys:
124 | |
125 |
126 | =number_format($this->info['expired_keys'])?>
127 | |
128 |
129 |
130 |
131 | Keyspace Hits:
132 | |
133 |
134 | =number_format($this->info['keyspace_hits'])?>
135 | |
136 |
137 |
138 |
139 | Keyspace Misses:
140 | |
141 |
142 | =number_format($this->info['keyspace_misses'])?>
143 | |
144 |
145 |
146 |
147 | System CPU Usage:
148 | |
149 |
150 | =$this->info['used_cpu_sys']?>
151 | |
152 |
153 |
154 |
155 | User CPU Usage:
156 | |
157 |
158 | =$this->info['used_cpu_user']?>
159 | |
160 |
161 |
162 |
163 | Database Size:
164 | |
165 |
166 | =number_format($this->dbSize)?>
167 | |
168 |
169 |
170 |
171 | Last save to disk:
172 | |
173 |
174 | =date('Y-m-d H:i:s', $this->lastSave)?>
175 | |
176 |
177 |