INFO

返回节点信息和统计数据。

  1. disque> INFO
  2. # Server
  3. disque_version:0.0.1
  4. disque_git_sha1:0bbd831e
  5. disque_git_dirty:0
  6. disque_build_id:cd264e0f87773cd5
  7. os:Darwin 13.3.0 x86_64
  8. arch_bits:64
  9. multiplexing_api:kqueue
  10. gcc_version:4.2.1
  11. process_id:528
  12. run_id:4b4aff36750579760e62d213a311ff7202560caa
  13. tcp_port:7711
  14. uptime_in_seconds:374
  15. uptime_in_days:0
  16. hz:10
  17. config_file:
  18.  
  19. # Clients
  20. connected_clients:1
  21. client_longest_output_list:0
  22. client_biggest_input_buf:0
  23. blocked_clients:0
  24.  
  25. # Memory
  26. used_memory:960160
  27. used_memory_human:937.66K
  28. used_memory_rss:1519616
  29. used_memory_peak:960864
  30. used_memory_peak_human:938.34K
  31. mem_fragmentation_ratio:1.58
  32. mem_allocator:libc
  33.  
  34. # Jobs
  35. registered_jobs:0
  36.  
  37. # Queues
  38. registered_queues:1
  39.  
  40. # Persistence
  41. loading:0
  42. aof_enabled:0
  43. aof_rewrite_in_progress:0
  44. aof_rewrite_scheduled:0
  45. aof_last_rewrite_time_sec:-1
  46. aof_current_rewrite_time_sec:-1
  47. aof_last_bgrewrite_status:ok
  48. aof_last_write_status:ok
  49.  
  50. # Stats
  51. total_connections_received:1
  52. total_commands_processed:9
  53. instantaneous_ops_per_sec:0
  54. total_net_input_bytes:780
  55. total_net_output_bytes:415
  56. instantaneous_input_kbps:0.00
  57. instantaneous_output_kbps:0.00
  58. rejected_connections:0
  59. latest_fork_usec:0
  60.  
  61. # CPU
  62. used_cpu_sys:1.54
  63. used_cpu_user:0.73
  64. used_cpu_sys_children:0.00
  65. used_cpu_user_children:0.00