Monitor 重錘測料位6-8531-1122可直接查面價
MONITORAvailable since 1.0.0.
MONITOR is a debugging command that streams back every command processed by the Redis server. It can help in understanding what is happening to the database. This command can both be used via redis-cli and via telnet.
The ability to see all the requests processed by the server is useful in order to spot bugs in an application both when using Redis as a database and as a distributed caching system.
$ redis-cli monitor
1339518083.107412 [0 127.0.0.1:60866] "keys" "*"
1339518087.877697 [0 127.0.0.1:60866] "dbsize"
1339518090.420270 [0 127.0.0.1:60866] "set" "x" "6"
1339518096.506257 [0 127.0.0.1:60866] "get" "x"
1339518099.363765 [0 127.0.0.1:60866] "del" "x"
1339518100.544926 [0 127.0.0.1:60866] "get" "x"
Use SIGINT (Ctrl-C) to stop a MONITOR stream running via redis-cli.
$ telnet localhost 6379
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
MONITOR
+OK
+1339518083.107412 [0 127.0.0.1:60866] "keys" "*"
+1339518087.877697 [0 127.0.0.1:60866] "dbsize"
+1339518090.420270 [0 127.0.0.1:60866] "set" "x" "6"
+1339518096.506257 [0 127.0.0.1:60866] "get" "x"
+1339518099.363765 [0 127.0.0.1:60866] "del" "x"
+1339518100.544926 [0 127.0.0.1:60866] "get" "x"
QUIT
+OK
Connection closed by foreign host.
Manually issue the QUIT or RESET commands to stop a MONITOR stream running via telnet.
Commands not logged by MONITOR
Because of security concerns, all administrative commands are not logged by MONITOR's output.
Furthermore, the following commands are also not logged:
AUTH
EXEC
HELLO
QUIT
Cost of running MONITOR
Because MONITOR streams back all commands, its use comes at a cost. The following (totally unscientific) benchmark numbers illustrate what the cost of running MONITOR can be.
Benchmark result without MONITOR running:
$ src/redis-benchmark -c 10 -n 100000 -q
PING_INLINE: 101936.80 requests per second
PING_BULK: 102880.66 requests per second
SET: 95419.85 requests per second
GET: 104275.29 requests per second
INCR: 93283.58 requests per second
Benchmark result with MONITOR running (redis-cli monitor > /dev/null):
$ src/redis-benchmark -c 10 -n 100000 -q
PING_INLINE: 58479.53 requests per second
PING_BULK: 59136.61 requests per second
SET: 41823.50 requests per second
GET: 45330.91 requests per second
INCR: 41771.09 requests per second
In this particular case, running a single MONITOR client can reduce the throughput by more than 50%. Running more MONITOR clients will reduce throughput even more.
Return value
Non standard return value, just dumps the received commands in an infinite flow.
History
>= 6.2: RESET can be called to exit monitor mode.
>= 6.0: AUTH excluded from the command's output.
Related commands
Monitor 重錘測料位6-8531-1122可直接查面價
安裝在料倉頂部的料位計傳感器的探測過程由控制顯示儀表發(fā)出的信號控制。傳感器由可逆電機、蝸輪、蝸桿、絲杠、齒輪軸、繞線筒、靈敏杠桿等組成。(見圖2)
當傳感器接到探測命令時:電機正轉,經蝸輪、蝸桿減速后帶動齒輪軸和繞線筒轉動,使鋼絲繩下放,帶動重錘由倉頂下降。當重錘降至料面時被料面托起而失重,鋼絲繩松馳,靈敏杠桿動作使
微動開關接觸,控制顯示器得到該信號立即發(fā)出電機反轉命令,重錘上升返回,直到繞線筒碰上到頂開關,電機停轉,重錘回到倉頂
原始位置,完成一次探測過程。
在此過程中控制顯示儀表通過檢測繞線筒的轉數計算出重錘從倉底到料面間的距離,在面板進行數字顯示,并在后面板端子上輸出4~20mA電流。
重錘式料位計可用來測量粉狀、顆粒狀及塊狀固體物料料倉的料位,使用戶可靠地掌握料倉中的料位。
產品概述
重錘式料位計用于監(jiān)測料斗、筒倉、儲罐等容器內粉末、顆粒和液體高度或近似重量的實 時測量。它通過直接測量頂部無料空間距離,間接達到測量料層內物料高度的目的,并且可以根據不同的工況選擇配置各種法蘭、重錘及操作界面或遠程通訊等,實 現(xiàn)了人性化、科學化、合理化的設計宗旨。其中QHYC-Ⅰ系列用于冶金行業(yè)的料位測量,QHLC-Ⅰ系列用于糧油加工業(yè)的料位測量。
工作原理
重錘式料位計的主要部件有:重錘、安裝法蘭、測量機構、吹灰裝置、導向輪、鋼絲繩、鋼絲繩卷筒、擺桿機構、控制單元、電機、測控單元、計量單元和電氣接口。
傳 感器接到探測命令時,電機正轉,經減速機構后帶動繞線筒轉動,鋼纜下放,重錘跟隨其下降,當重錘降至料面時被料面托起而失重,鋼絲繩松馳,靈敏杠桿動作使 霍爾元件動作,并將位置信號傳遞給控制器,控制器得到該信號后立即發(fā)出電機反轉命令,重錘隨鋼絲繩上升返回,直到重錘回到倉頂原始位置,電機停轉,完成一 次探測過程。 并以4—20mA電流信號、標準的MODBUS串行通訊方式、干接點三種方式傳輸給DCS系統(tǒng)或外置顯示單元料位及報警信號。
Monitor 重錘測料位6-8531-1122可直接查面價