🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
参考链接:https://www.yiibai.com/redis/redis_server.html ~~~ 127.0.0.1:6379> info # Server redis_version:2.8.4 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:8f6097d7914679ca redis_mode:standalone os:Linux 3.19.0-25-generic i686 arch_bits:32 multiplexing_api:epoll gcc_version:4.8.2 process_id:1004 run_id:1e53acea2aa628199c4e438a3ed815d96eebc036 tcp_port:6379 uptime_in_seconds:888450 uptime_in_days:10 hz:10 lru_clock:1861984 config_file:/etc/redis/redis.conf # Clients connected_clients:1 client_longest_output_list:0 client_biggest_input_buf:0 blocked_clients:0 # Memory used_memory:424872 used_memory_human:414.91K used_memory_rss:6709248 used_memory_peak:424464 used_memory_peak_human:414.52K used_memory_lua:22528 mem_fragmentation_ratio:15.79 mem_allocator:jemalloc-3.4.1 # Persistence loading:0 rdb_changes_since_last_save:0 rdb_bgsave_in_progress:0 rdb_last_save_time:1486607123 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:0 rdb_current_bgsave_time_sec:-1 aof_enabled:0 aof_rewrite_in_progress:0 aof_rewrite_scheduled:0 aof_last_rewrite_time_sec:-1 aof_current_rewrite_time_sec:-1 aof_last_bgrewrite_status:ok # Stats total_connections_received:1 total_commands_processed:263 instantaneous_ops_per_sec:0 rejected_connections:0 sync_full:0 sync_partial_ok:0 sync_partial_err:0 expired_keys:0 evicted_keys:0 keyspace_hits:257 keyspace_misses:0 pubsub_channels:0 pubsub_patterns:0 latest_fork_usec:4793 # Replication role:master connected_slaves:0 master_repl_offset:0 repl_backlog_active:0 repl_backlog_size:1048576 repl_backlog_first_byte_offset:0 repl_backlog_histlen:0 # CPU used_cpu_sys:24.65 used_cpu_user:15.84 used_cpu_sys_children:0.08 used_cpu_user_children:0.00 # Keyspace db0:keys=14,expires=0,avg_ttl=0 db1:keys=1,expires=0,avg_ttl=0 127.0.0.1:6379> ~~~