[{"id":"07bee4b646bb45a7","type":"inject","z":"bdb1dbdacc480490","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":110,"y":6280,"wires":[["c1b640cb16c9f4e7"]]},{"id":"c1b640cb16c9f4e7","type":"exec","z":"bdb1dbdacc480490","command":"wmic OS get FreePhysicalMemory","addpay":"","append":"","useSpawn":"false","timer":"","winHide":false,"oldrc":false,"name":"可用内存命令","x":280,"y":6260,"wires":[["d6ce98f8aa52d598","c77393111e842dc1","c3ebeeb738da3614"],[],[]]},{"id":"d718785145da2f47","type":"debug","z":"bdb1dbdacc480490","name":"debug 47","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1080,"y":6400,"wires":[]},{"id":"d6ce98f8aa52d598","type":"debug","z":"bdb1dbdacc480490","name":"debug 48","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":340,"y":6180,"wires":[]},{"id":"0bdadf5e13b59752","type":"switch","z":"bdb1dbdacc480490","name":"","property":"payload","propertyType":"msg","rules":[{"t":"lt","v":"1000000","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":690,"y":6400,"wires":[["b04c2b04b8f0df26"]]},{"id":"c77393111e842dc1","type":"change","z":"bdb1dbdacc480490","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"","tot":"date"}],"action":"","property":"","from":"","to":"","reg":false,"x":510,"y":6240,"wires":[["a89047caf823922e"]]},{"id":"a89047caf823922e","type":"file","z":"bdb1dbdacc480490","name":"","filename":"C:\\\\Users\\\\lvlinhu\\\\Desktop\\\\日志.txt","filenameType":"str","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"utf8","x":800,"y":6240,"wires":[[]]},{"id":"c3ebeeb738da3614","type":"function","z":"bdb1dbdacc480490","name":"function 12","func":"const str = msg.payload;\nconst subStr = str.substring(23, 30); \nmsg.payload =\"内存空间还剩\"+ parseInt(subStr) + \" KB\"\nreturn msg;","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":570,"y":6320,"wires":[["c975d503d46c3f2b","0bdadf5e13b59752"]]},{"id":"d127fdc6df2a0fe6","type":"file","z":"bdb1dbdacc480490","name":"","filename":"C:\\\\Users\\\\lvlinhu\\\\Desktop\\\\日志.txt","filenameType":"str","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"none","x":1040,"y":6320,"wires":[[]]},{"id":"c975d503d46c3f2b","type":"delay","z":"bdb1dbdacc480490","name":"","pauseType":"delay","timeout":"500","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":790,"y":6320,"wires":[["d127fdc6df2a0fe6"]]},{"id":"b04c2b04b8f0df26","type":"change","z":"bdb1dbdacc480490","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"内存空间不足","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":890,"y":6400,"wires":[["d718785145da2f47"]]}]