Skip to content

Commit 1f043e8

Browse files
committed
Added new return values in the command info()
1 parent 08ae89e commit 1f043e8

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

redisphp.php

+30
Original file line numberDiff line numberDiff line change
@@ -1672,18 +1672,48 @@ public function sort($key, $option = null) {}
16721672

16731673
/**
16741674
* Returns an associative array of strings and integers, with the following keys:
1675+
*
16751676
* - redis_version
1677+
* - redis_git_sha1
1678+
* - redis_git_dirty
16761679
* - arch_bits
1680+
* - multiplexing_api
1681+
* - process_id
16771682
* - uptime_in_seconds
16781683
* - uptime_in_days
1684+
* - lru_clock
1685+
* - used_cpu_sys
1686+
* - used_cpu_user
1687+
* - used_cpu_sys_children
1688+
* - used_cpu_user_children
16791689
* - connected_clients
16801690
* - connected_slaves
1691+
* - client_longest_output_list
1692+
* - client_biggest_input_buf
1693+
* - blocked_clients
16811694
* - used_memory
1695+
* - used_memory_human
1696+
* - used_memory_peak
1697+
* - used_memory_peak_human
1698+
* - mem_fragmentation_ratio
1699+
* - mem_allocator
1700+
* - loading
1701+
* - aof_enabled
16821702
* - changes_since_last_save
16831703
* - bgsave_in_progress
16841704
* - last_save_time
16851705
* - total_connections_received
16861706
* - total_commands_processed
1707+
* - expired_keys
1708+
* - evicted_keys
1709+
* - keyspace_hits
1710+
* - keyspace_misses
1711+
* - hash_max_zipmap_entries
1712+
* - hash_max_zipmap_value
1713+
* - pubsub_channels
1714+
* - pubsub_patterns
1715+
* - latest_fork_usec
1716+
* - vm_enabled
16871717
* - role
16881718
* @link http://redis.io/commands/info
16891719
* @example $redis->info();

0 commit comments

Comments
 (0)