# Server redis_version:3.0.7 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:5efa20fe9f01349c redis_mode:standalone os:Linux 2.6.32-573.el6.x86_64 x86_64 arch_bits:64 multiplexing_api:epoll gcc_version:4.4.7 process_id:11188 run_id:b2c5a1094ed2f55da1f22f95c474571ebea3ae36 tcp_port:6379 uptime_in_seconds:5949338 uptime_in_days:68 hz:10 lru_clock:12996713 config_file:/user/local/redis/bin/redis.conf # Clients connected_clients:29 client_longest_output_list:0 client_biggest_input_buf:0 blocked_clients:0 # Memory used_memory:507563504 used_memory_human:484.05M used_memory_rss:526106624 used_memory_peak:508416280 used_memory_peak_human:484.86M used_memory_lua:36864 mem_fragmentation_ratio:1.04 mem_allocator:jemalloc-3.6.0 # Persistence loading:0 rdb_changes_since_last_save:3065 rdb_bgsave_in_progress:0 rdb_last_save_time:1472614338 rdb_last_bgsave_status:ok rdb_last_bgsave_time_sec:4 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 aof_last_write_status:ok # Stats total_connections_received:3193841 total_commands_processed:1164990349 instantaneous_ops_per_sec:1059 total_net_input_bytes:77881664885 total_net_output_bytes:78748708357 instantaneous_input_kbps:62.17 instantaneous_output_kbps:73.00 rejected_connections:0 sync_full:0 sync_partial_ok:0 sync_partial_err:0 expired_keys:27518 evicted_keys:0 keyspace_hits:211693226 keyspace_misses:895464748 pubsub_channels:0 pubsub_patterns:0 latest_fork_usec:6665 migrate_cached_sockets:0 # 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:23225.90 used_cpu_user:8824.19 used_cpu_sys_children:9723.33 used_cpu_user_children:67324.20 # Cluster cluster_enabled:0 # Keyspace db0:keys=37451,expires=1461,avg_ttl=237457079342 db12:keys=6,expires=0,avg_ttl=0 db13:keys=5,expires=0,avg_ttl=0 db14:keys=14059,expires=0,avg_ttl=0 db15:keys=321,expires=0,avg_ttl=0
<?php $info = $redis->info('Server'); print_r($info); ?> Array ( [redis_version] => 3.0.7 [redis_git_sha1] => 0 [redis_git_dirty] => 0 [redis_build_id] => 5efa20fe9f01349c [redis_mode] => standalone [os] => Linux 2.6.32-573.el6.x86_64 x86_64 [arch_bits] => 64 [multiplexing_api] => epoll [gcc_version] => 4.4.7 [process_id] => 11188 [run_id] => b2c5a1094ed2f55da1f22f95c474571ebea3ae36 [tcp_port] => 6379 [uptime_in_seconds] => 5949353 [uptime_in_days] => 68 [hz] => 10 [lru_clock] => 12996728 [config_file] => /usr/local/redis/bin/redis.conf )