redis MONITOR command
Translation results:
UK[ˈmɒnɪtə(r)] US[ˈmɑ:nɪtə(r)]
n. Monitor; display screen, screen; [calculator] display; monitoring personnel, squad leader
vt. Supervise; monitor, monitor; collect, record; measure
vi.Monitor
Third person singular: monitors Plural: monitors Present participle: monitoring Past tense: monitored Past participle: monitored
redis MONITOR commandsyntax
Function: Print out the commands received by the Redis server in real time for debugging.
Syntax: MONITOR
Available versions:>= 1.0.0
Time complexity:Unclear
Return: Always returns OK.
redis MONITOR commandexample
127.0.0.1:6379> MONITOR OK # 以第一个打印值为例 # 1378822099.421623 是时间戳 # [0 127.0.0.1:56604] 中的 0 是数据库号码, 127... 是 IP 地址和端口 # "PING" 是被执行的命令 1378822099.421623 [0 127.0.0.1:56604] "PING" 1378822105.089572 [0 127.0.0.1:56604] "SET" "msg" "hello world" 1378822109.036925 [0 127.0.0.1:56604] "SET" "number" "123" 1378822140.649496 [0 127.0.0.1:56604] "SADD" "fruits" "Apple" "Banana" "Cherry" 1378822154.117160 [0 127.0.0.1:56604] "EXPIRE" "msg" "10086" 1378822257.329412 [0 127.0.0.1:56604] "KEYS" "*" 1378822258.690131 [0 127.0.0.1:56604] "DBSIZE"
Popular Recommendations
- Windows 11 Calendar Not Opening on the Second Monitor
- Xiaomi Mini LED Gaming Monitor G Pro 27i: New Mini LED gaming monitor released globally with low launch price and fast refresh rate
- How to View Notes in PowerPoint While Presenting With One Monitor
- Xiaomi Redmi A27U monitor refreshed with 4K panel and 90W USB C port
- Affordable Xiaomi Gaming Monitor G24i makes global debut with 180 Hz display and AMD FreeSync
- Alienware AW2725QF: Dell releases new dual display mode gaming monitor across Europe, UK and the US